From c180c61816cd9a119d72ba0f2dcd53beb8abd3b0 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 18 Jan 2001 01:03:18 +0000 Subject: [PATCH] memmove() -> g_memmove() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1131 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/net-sendbuffer.c | 2 +- src/fe-common/irc/fe-events-numeric.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/net-sendbuffer.c b/src/core/net-sendbuffer.c index eee654dd..04eab80a 100644 --- a/src/core/net-sendbuffer.c +++ b/src/core/net-sendbuffer.c @@ -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; } diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index 6e37dff3..64ec6a1f 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -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); }