Changeset e1e5bd6


Ignore:
Timestamp:
2018-03-26T03:47:38Z (7 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0d2cd10
Parents:
5bb4477
Message:

sighandler_crash: flush irc send buffer before crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r5bb4477 re1e5bd6  
    305305                irc_t *irc = l->data;
    306306                sock_make_blocking(irc->fd);
     307                if (irc->sendbuffer) {
     308                        unused = write(irc->fd, irc->sendbuffer, strlen(irc->sendbuffer));
     309                }
    307310                unused = write(irc->fd, message, len);
    308311        }
Note: See TracChangeset for help on using the changeset viewer.