projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee6dbd
)
fix off-by-one error that prevented reading from stdin
author
lurchi
<lurchi@strangeplace.net>
Sat, 12 Aug 2017 15:39:54 +0000
(17:39 +0200)
committer
lurchi
<lurchi@strangeplace.net>
Sat, 12 Aug 2017 15:39:54 +0000
(17:39 +0200)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 1f5fe3f61a55c7e1c775146ca5cea7bf2fc91d39..2ea2378eb8df1f4e2b8fe032bc30cfda75b02811 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-1929,7
+1929,7
@@
select_add (void *cls,
GNUNET_assert (NULL != task);
GNUNET_assert (NULL != fdi);
- if (!((NULL != fdi->fd) ^ (NULL != fdi->fh)) || (0 >
=
fdi->sock))
+ if (!((NULL != fdi->fd) ^ (NULL != fdi->fh)) || (0 > fdi->sock))
{
/* exactly one out of {fd, hf} must be != NULL and the OS handle must be valid */
return GNUNET_SYSERR;