GNUNET_NETWORK_socket_sendto (send_handle, message, ssize,
sb,
sbs);
+ if (GNUNET_SYSERR == sent)
+ GNUNET_log_strerror(GNUNET_ERROR_TYPE_DEBUG, "sendto");
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"UDP transmit %u-byte message to %s (%d: %s)\n",
(unsigned int) ssize,
char *port_start;
struct IPv4UdpAddress a4;
- if (tc->reason == GNUNET_SCHEDULER_REASON_SHUTDOWN)
+ if ( (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0)
return;
bytes = GNUNET_DISK_file_read(plugin->server_stdout_handle, &mybuf, sizeof(mybuf));
uint16_t csize;
plugin->select_task = GNUNET_SCHEDULER_NO_TASK;
- if (tc->reason == GNUNET_SCHEDULER_REASON_SHUTDOWN)
+ if ( (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0)
return;
udp_sock = NULL;
if (GNUNET_NETWORK_fdset_isset (tc->read_ready,