\r
tv.tv_sec = timeout.value / GNUNET_TIME_UNIT_SECONDS.value;\r
tv.tv_usec = 1000 * (timeout.value - (tv.tv_sec * GNUNET_TIME_UNIT_SECONDS.value));\r
+ if ( (nfds == 0) &&\r
+ (timeout.value == GNUNET_TIME_UNIT_FOREVER_REL.value) )\r
+ {\r
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,\r
+ _("Fatal internal logic error, process hangs in `%s' (abort with CTRL-C)!\n"),\r
+ "select");\r
+ GNUNET_break (0);\r
+ }\r
return select (nfds + 1, \r
(rfds != NULL) ? &rfds->sds : NULL, \r
(wfds != NULL) ? &wfds->sds : NULL,\r