[Flac-dev] [PATCH] Fix wrong use of g_strconcat
Takashi Iwai
tiwai at suse.de
Wed May 25 08:01:33 PDT 2005
Hi,
the patch below fixes the wrong use of g_strconcat. It must be a
typo of g_strdup_printf. Also fixed the printf format, too.
Takashi
--- src/plugin_xmms/http.c-dist 2005-05-25 16:14:03.000000000 +0200
+++ src/plugin_xmms/http.c 2005-05-25 16:17:30.000000000 +0200
@@ -484,7 +484,7 @@ static int http_connect (gchar *url_, gb
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);
}
More information about the Flac-dev
mailing list