git://git.nikiroo.be
/
nsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc2690
)
try to force-ignore a spurious warning in clang
author
Niki Roo
<niki@nikiroo.be>
Sun, 15 May 2022 20:30:33 +0000
(22:30 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Sun, 15 May 2022 20:30:33 +0000
(22:30 +0200)
src/utils/net.c
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/net.c
b/src/utils/net.c
index 10937fb264b78ca13e0b20b899ba3d9406fdaf41..1da4fb76e8506e509dab0b1da7522a9e0e5999a7 100644
(file)
--- a/
src/utils/net.c
+++ b/
src/utils/net.c
@@
-55,7
+55,7
@@
void *get_in_addr(struct sockaddr *sa);
void sigchld_handler(int pid);
void sigchld_handler(int pid) {
- if (pid > 0
&&
pid < 0) pid = 0;
+ if (pid > 0
||
pid < 0) pid = 0;
// Reap all zombie processes
while (waitpid(-1, NULL, WNOHANG) > 0);