mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
memmove() -> g_memmove()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1131 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
269a0499b1
commit
c180c61816
@ -76,7 +76,7 @@ static int buffer_send(NET_SENDBUF_REC *rec)
|
||||
|
||||
if (ret > 0) {
|
||||
rec->bufpos -= ret;
|
||||
memmove(rec->buffer, rec->buffer+ret, rec->bufpos);
|
||||
g_memmove(rec->buffer, rec->buffer+ret, rec->bufpos);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -671,7 +671,7 @@ static void event_received(IRC_SERVER_REC *server, const char *data)
|
||||
params = event_get_params(data, 2 | PARAM_FLAG_GETREST, NULL, &args);
|
||||
ptr = strstr(args, " :");
|
||||
if (ptr != NULL)
|
||||
memmove(ptr+1, ptr+2, strlen(ptr+1));
|
||||
g_memmove(ptr+1, ptr+2, strlen(ptr+1));
|
||||
printtext(server, NULL, MSGLEVEL_CRAP, "%s", args);
|
||||
g_free(params);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user