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:
ca93470
)
-fix assertion, FD 0 is fine
author
Christian Grothoff
<christian@grothoff.org>
Tue, 24 Dec 2013 22:24:23 +0000
(22:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 24 Dec 2013 22:24:23 +0000
(22:24 +0000)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 2a9623428a33a84ef9c5ced0150386c1ec2f0988..87a107dba78f526ab29dfd8d289d50d4fab436be 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-1599,7
+1599,7
@@
GNUNET_SCHEDULER_add_file_with_priority (struct GNUNET_TIME_Relative delay,
int real_fd;
GNUNET_DISK_internal_file_handle_ (fd, &real_fd, sizeof (int));
- GNUNET_assert (real_fd > 0);
+ GNUNET_assert (real_fd >
=
0);
return add_without_sets (
delay, priority,
on_read ? real_fd : -1,