diff options
author | dequis <dx@dxzone.com.ar> | 2015-11-03 08:43:04 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-11-03 08:43:04 -0300 |
commit | c467adc170fe2fb16321bcd9d3bb9a3a918f51e3 (patch) | |
tree | b5f908b7259c42d064b69e4003eabc11ceb745cb /unix.c | |
parent | abf47171b19cb3eed19a83028c80f4d1e3c85fcb (diff) |
sighandler_crash: Mark irc socket as blocking before writing
Just to ensure the whole thing gets written, since this can't be async
for obvious reasons.
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -291,6 +291,7 @@ static void sighandler_crash(int signal) for (l = irc_connection_list; l; l = l->next) { irc_t *irc = l->data; + sock_make_blocking(irc->fd); write(irc->fd, message, len); } |