projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix typo in if caluse
[collectd.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
ce9b0cc
..
a33d06e
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-1996,7
+1996,7
@@
static sockent_t *sockent_create (int type) /* {{{ */
{
sockent_t *se;
- if ((type != SOCKENT_TYPE_CLIENT)
||
(type != SOCKENT_TYPE_SERVER))
+ if ((type != SOCKENT_TYPE_CLIENT)
&&
(type != SOCKENT_TYPE_SERVER))
return (NULL);
se = malloc (sizeof (*se));