mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
.. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bacfcb060c
commit
d3dc9a1307
106 changed files with 4864 additions and 1597 deletions
|
|
@ -48,6 +48,7 @@ static void cmd_send(IRC_SERVER_REC *server, const char *cmd, int send_now, int
|
|||
/* just check that we don't send any longer commands than 512 bytes.. */
|
||||
strncpy(str, cmd, 510);
|
||||
len = strlen(cmd);
|
||||
if (len > 510) len = 510;
|
||||
str[len++] = 13; str[len++] = 10; str[len] = '\0';
|
||||
|
||||
ptr = str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue