projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0738e
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 18 Jun 2001 06:49:23 +0000
(06:49 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 18 Jun 2001 06:49:23 +0000
(06:49 +0000)
lib/silcutil/silcschedule.c
patch
|
blob
|
history
diff --git
a/lib/silcutil/silcschedule.c
b/lib/silcutil/silcschedule.c
index 4a7522200075ba941c353f8c7c07570449c697a3..abc0043cba9a92d9b1b2dc3585bab9d33a542031 100644
(file)
--- a/
lib/silcutil/silcschedule.c
+++ b/
lib/silcutil/silcschedule.c
@@
-476,6
+476,12
@@
int silc_schedule_one(int timeout_usecs)
/* Error */
if (errno == EINTR)
break;
+#if 1
+ if (errno == EINVAL && schedule.timeout) {
+ SILC_LOG_ERROR(("Invalid argument (invalid timeout): %lu %lu",
+ schedule.timeout->tv_sec, schedule.timeout->tv_usec));
+ }
+#endif
SILC_LOG_ERROR(("Error in select(): %s", strerror(errno)));
break;
case 0: