summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/net-sendbuffer.c2
1 files changed, 1 insertions, 1 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;
}