1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04: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:
Timo Sirainen 2001-01-18 01:03:18 +00:00 committed by cras
parent 269a0499b1
commit c180c61816
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);
}