fix bad use of g_strconcat()
authorJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 31 Aug 2005 00:19:37 +0000 (00:19 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 31 Aug 2005 00:19:37 +0000 (00:19 +0000)
src/plugin_xmms/http.c

index a725bdb..ad6475a 100644 (file)
@@ -484,7 +484,7 @@ static int http_connect (gchar *url_, gboolean head, guint64 offset)
                                                       flac_cfg.stream.use_udp_channel ? udpspace : "");
                                if (offset && !head) {
                                        gchar *temp_dead = temp;
-                                       temp = g_strconcat ("%sRange: %ll-\r\n", temp, offset);
+                                       temp = g_strdup_printf ("%sRange: %llu-\r\n", temp, offset);
                                        fprintf (stderr, "%s", temp);
                                        g_free (temp_dead);
                                }