Changeset b9d1fdc
- Timestamp:
- 2018-07-12T07:47:18Z (6 years ago)
- Branches:
- master
- Children:
- 5c90890, 7de07a0
- Parents:
- ac8b4d9
- git-author:
- dequis <dx@…> (12-07-18 07:10:47)
- git-committer:
- dequis <dx@…> (12-07-18 07:47:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rac8b4d9 rb9d1fdc 639 639 640 640 if (irc->sendbuffer != NULL) { 641 size = strlen(irc->sendbuffer) + strlen(line); 641 gsize line_len = strlen(line); 642 gsize buffer_len = strlen(irc->sendbuffer); 643 644 size = buffer_len + line_len; 642 645 irc->sendbuffer = g_renew(char, irc->sendbuffer, size + 1); 643 strcpy((irc->sendbuffer + strlen(irc->sendbuffer)), line);646 strcpy((irc->sendbuffer + buffer_len), line); 644 647 } else { 645 648 irc->sendbuffer = g_strdup(line);
Note: See TracChangeset
for help on using the changeset viewer.