pidgin/pidgin

cf9821fc48e7
Parents 637dcf29165f
Children 033c9e85ca14
g_memmove has been deprecated since glib 2.40 and recommends just using memmove

Testing Done:
Compile only.

Reviewed at https://reviews.imfreedom.org/r/492/
--- a/libpurple/protocols/jabber/auth_digest_md5.c Thu Feb 11 23:53:15 2021 -0600
+++ b/libpurple/protocols/jabber/auth_digest_md5.c Thu Feb 11 23:54:58 2021 -0600
@@ -131,7 +131,7 @@
a1 = g_strdup_printf("xxxxxxxxxxxxxxxx:%s:%s", nonce, cnonce);
a1len = strlen(a1);
- g_memmove(a1, result, 16);
+ memmove(a1, result, 16);
purple_cipher_context_reset(context, NULL);
purple_cipher_context_append(context, (const guchar *)a1, a1len);
--- a/libpurple/util.c Thu Feb 11 23:53:15 2021 -0600
+++ b/libpurple/util.c Thu Feb 11 23:54:58 2021 -0600
@@ -2010,7 +2010,7 @@
{
str2[j++] = ' ';
str2[j++] = '(';
- g_memmove(str2 + j, href, hrlen);
+ memmove(str2 + j, href, hrlen);
j += hrlen;
str2[j++] = ')';
g_free(href);
@@ -3816,7 +3816,7 @@
}
/* Move all data overtop of the chunk length that we read in earlier */
- g_memmove(p, s, sz);
+ memmove(p, s, sz);
p += sz;
s += sz;
newlen += sz;
--- a/pidgin/gtkconv.c Thu Feb 11 23:53:15 2021 -0600
+++ b/pidgin/gtkconv.c Thu Feb 11 23:54:58 2021 -0600
@@ -6424,7 +6424,7 @@
return;
smiley->data = g_realloc(smiley->data, smiley->datasize + size);
- g_memmove((guchar *)smiley->data + smiley->datasize, data, size);
+ memmove((guchar *)smiley->data + smiley->datasize, data, size);
smiley->datasize += size;
if (!smiley->loader)