$OpenBSD: patch-src_gm_parse_c,v 1.3 2013/07/12 09:58:56 dcoppa Exp $

Minor string cleanups (upstream svn revision r223)

--- src/gm_parse.c.orig	Fri Jul 12 11:31:34 2013
+++ src/gm_parse.c	Fri Jul 12 11:38:34 2013
@@ -134,7 +134,7 @@ gboolean gm_parse_asx_is_asx(const gchar * uri)
                 continue;
             }
             newline = g_strdup(line);
-            if (g_ascii_strncasecmp(newline, "<asx", g_utf8_strlen("<asx", -1)) == 0) {
+            if (g_ascii_strncasecmp(newline, "<asx", strlen("<asx")) == 0) {
                 ret = TRUE;
                 g_free(newline);
                 break;
@@ -180,7 +180,7 @@ gboolean gm_parse_asx_is_asx(const gchar * uri)
                 } else {
                     gm_log(FALSE, G_LOG_LEVEL_DEBUG, "line = %s", line);
                     newline = g_strdup(line);
-                    if (g_ascii_strncasecmp(newline, "<asx", g_utf8_strlen("<asx", -1)) == 0) {
+                    if (g_ascii_strncasecmp(newline, "<asx", strlen("<asx")) == 0) {
                         gm_log(FALSE, G_LOG_LEVEL_DEBUG, "asx");
                         ret = TRUE;
                         g_free(newline);
