File openvas-administrator-glib2.31.patch of Package openvas-administrator

Index: src/admin.c
===================================================================
--- src/admin.c.orig
+++ src/admin.c
@@ -874,8 +874,8 @@ openvas_get_sync_script_identification (
 
   script_identification = g_strsplit (script_out, "|", 6);
 
-  if (g_strncasecmp (script_identification[0], "NVTSYNC", 7)
-      || g_strncasecmp (script_identification[0], script_identification[5], 7))
+  if (g_ascii_strncasecmp (script_identification[0], "NVTSYNC", 7)
+      || g_ascii_strncasecmp (script_identification[0], script_identification[5], 7))
     {
       g_warning ("%s is not a NVT synchronization script.", sync_script);
 
openSUSE Build Service is sponsored by