[libsoup] Fix deprecation warning



commit 0e365566821220727b6021f636f2ba0ba554efc1
Author: Patrick Griffis <pgriffis igalia com>
Date:   Wed Feb 12 13:47:59 2020 -0800

    Fix deprecation warning

 libsoup/soup-headers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
index 5e70b97b..eec28adf 100644
--- a/libsoup/soup-headers.c
+++ b/libsoup/soup-headers.c
@@ -131,7 +131,7 @@ soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest)
 
                        /* Delete all but one SP */
                        *eol = ' ';
-                       g_memmove (eol + 1, sol, strlen (sol) + 1);
+                       memmove (eol + 1, sol, strlen (sol) + 1);
                }
 
                /* clip trailing whitespace */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]