Changeset c467adc


Ignore:
Timestamp:
2015-11-03T11:43:04Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0a5d03c
Parents:
abf4717
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    rabf4717 rc467adc  
    292292        for (l = irc_connection_list; l; l = l->next) {
    293293                irc_t *irc = l->data;
     294                sock_make_blocking(irc->fd);
    294295                write(irc->fd, message, len);
    295296        }
Note: See TracChangeset for help on using the changeset viewer.