1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

pthreadpool: Fix CID 1373620 Unchecked return value from library

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2016-10-12 12:20:00 +02:00
committed by Jeremy Allison
parent 6de421b299
commit a04a096783

View File

@ -132,7 +132,9 @@ static int test_busydestroy(void)
pfd.fd = pthreadpool_pipe_signal_fd(p);
pfd.events = POLLIN|POLLERR;
poll(&pfd, 1, -1);
do {
ret = poll(&pfd, 1, -1);
} while ((ret == -1) && (errno == EINTR));
ret = pthreadpool_pipe_finished_jobs(p, &jobid, 1);
if (ret < 0) {