Displaying 2 results from an estimated 2 matches for "udpspac".
Did you mean:
udpspace
2005 May 25
1
[PATCH] Fix wrong use of g_strconcat
...rdup_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_d...
2004 Sep 10
0
http streaming in the xmms plugin
...#39;t connect to host %s"),
+ chost);
+ show_error_message(status);
+ g_free(status);
+
+ flac_ip.set_info_text(NULL);
+ eof = TRUE;
+
+ }
+ break;
+ }
+ }
+ if (!eof)
+ {
+ gchar *auth = NULL, *proxy_auth = NULL;
+ gchar udpspace[30];
+ int udp_port;
+
+ if (flac_cfg.stream.use_udp_channel)
+ {
+ udp_port = udp_establish_listener (&udp_sock);
+ if (udp_port > 0)
+ sprintf (udpspace, "x-audiocast-udpport: %d\r\n", udp_port);
+ else
+ udp_sock = 0;
+ }
+
+...