diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index fd886178f6..9425348474 100644 --- a/source3/smbd/aio.c +++ b/source3/smbd/aio.c @@ -158,7 +158,7 @@ static uint16 aio_pending_array[AIO_PENDING_SIZE]; static void signal_handler(int sig, siginfo_t *info, void *unused) { - if (signals_received < AIO_PENDING_SIZE - 1) { + if (signals_received < AIO_PENDING_SIZE) { aio_pending_array[signals_received] = info->si_value.sival_int; signals_received++; } /* Else signal is lost. */ |