diff options
Diffstat (limited to 'src/libstrongswan/networking/streams/stream_service.c')
-rw-r--r-- | src/libstrongswan/networking/streams/stream_service.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstrongswan/networking/streams/stream_service.c b/src/libstrongswan/networking/streams/stream_service.c index 34d45a067..7eaca86be 100644 --- a/src/libstrongswan/networking/streams/stream_service.c +++ b/src/libstrongswan/networking/streams/stream_service.c @@ -156,8 +156,9 @@ static bool watch(private_stream_service_t *this, int fd, watcher_event_t event) this->mutex->unlock(this->mutex); lib->processor->queue_job(lib->processor, - (job_t*)callback_job_create_with_prio((void*)accept_async, data, - (void*)destroy_async_data, NULL, this->prio)); + (job_t*)callback_job_create_with_prio((void*)accept_async, data, + (void*)destroy_async_data, (callback_job_cancel_t)return_false, + this->prio)); } else { |