diff options
Diffstat (limited to 'docs/examples/multithread.c')
-rw-r--r-- | docs/examples/multithread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/multithread.c b/docs/examples/multithread.c index 7978419bd..ceee94022 100644 --- a/docs/examples/multithread.c +++ b/docs/examples/multithread.c @@ -80,7 +80,7 @@ int main(void) NULL, /* default attributes please */ pull_one_url, (void *)urls[i]); - if(0 != error) + if(error) fprintf(stderr, "Couldn't run thread number %d, errno %d\n", i, error); else fprintf(stderr, "Thread %d, gets %s\n", i, urls[i]); |