Test for url in correct variable.
authorColin Walters <walters@verbum.org>
Mon, 25 Nov 2002 16:36:11 +0000 (16:36 +0000)
committerColin Walters <walters@verbum.org>
Mon, 25 Nov 2002 16:36:11 +0000 (16:36 +0000)
Original commit message from CVS:
Test for url in correct variable.

ext/gnomevfs/gstgnomevfssrc.c

index a48ae56..6033025 100644 (file)
@@ -748,7 +748,7 @@ gst_gnomevfssrc_received_headers_callback (gconstpointer in,
                                g_free (src->iradio_genre);
                        src->iradio_genre = g_strdup (value);
                        g_object_notify (G_OBJECT (src), "iradio-genre");
-                } else if (!strncmp (data, "url", 3)) {
+                } else if (!strncmp (key, "url", 3)) {
                        if (src->iradio_url)
                                g_free (src->iradio_url);
                        src->iradio_url = g_strdup (value);