diff options
author | Viktor Szakats <commit@vsz.me> | 2025-07-08 14:10:35 +0200 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2025-07-27 22:35:17 +0200 |
commit | b2bccdc257d0bab662778a8e5f8391dc99a8830b (patch) | |
tree | d3ae0b77c84a26ee6e2df7ea4c404fd561f8bb65 /docs/examples/multithread.c | |
parent | 08f97cbf5c632d103bfa5bdf8558ba43d9147c1a (diff) |
tidy-up: move literal to the right side of comparisons
Closes #17876
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]); |