projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7186f67
)
Fix typo in if caluse
author
Vladimir Smirnov
<civil.over@gmail.com>
Wed, 10 Sep 2014 19:08:50 +0000
(21:08 +0200)
committer
Vladimir Smirnov
<civil.over@gmail.com>
Wed, 10 Sep 2014 19:08:50 +0000
(21:08 +0200)
Fixes #729
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
701571d
..
0e1ff51
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-2003,7
+2003,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));