1.1 --- a/gmyth/src/gmyth_http.c Sat Feb 10 21:53:40 2007 +0000
1.2 +++ b/gmyth/src/gmyth_http.c Sat Feb 10 22:12:54 2007 +0000
1.3 @@ -355,9 +355,9 @@
1.4 {
1.5 LIBXML_TEST_VERSION
1.6
1.7 - size_t size = strlen(backend_info->hostname) + strlen(command->str) + 13;
1.8 + size_t size = strlen(backend_info->hostname) + strlen(command->str) + 14;
1.9 gchar *URL = (gchar *)g_malloc(sizeof(gchar)*size);
1.10 - g_snprintf(URL, size+1, "http://%s:6544/%s", backend_info->hostname, command->str);
1.11 + g_snprintf(URL, size, "http://%s:6544/%s", backend_info->hostname, command->str);
1.12
1.13 CURL *curl_handle;
1.14
2.1 --- a/gmyth/tests/gmyth_test_vlc.c Sat Feb 10 21:53:40 2007 +0000
2.2 +++ b/gmyth/tests/gmyth_test_vlc.c Sat Feb 10 22:12:54 2007 +0000
2.3 @@ -23,7 +23,7 @@
2.4 if ( res >= 0 )
2.5 {
2.6 gmyth_vlc_create_channel(&vlc, "broadcast", 8080, THEORA);
2.7 - gmyth_vlc_create_input(&vlc, 0, "/tmp/grande.nuv");
2.8 + gmyth_vlc_create_input(&vlc, 0, "/tmp/mpg/bad_day.mpg");
2.9 gmyth_vlc_control_input(&vlc, 0, "play");
2.10 gmyth_vlc_disconnect(&vlc);
2.11 }