diff options
Diffstat (limited to 'src/InputInternal.cxx')
-rw-r--r-- | src/InputInternal.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/InputInternal.cxx b/src/InputInternal.cxx index a154b68da..e110ebf0a 100644 --- a/src/InputInternal.cxx +++ b/src/InputInternal.cxx @@ -24,14 +24,13 @@ void input_stream_signal_client(struct input_stream *is) { - if (is->cond != NULL) - is->cond->broadcast(); + is->cond.broadcast(); } void input_stream_set_ready(struct input_stream *is) { - const ScopeLock protect(*is->mutex); + const ScopeLock protect(is->mutex); if (!is->ready) { is->ready = true; |