openbsd-ports/audio/xmms/patches/patch-Input_mpg123_http_c

21 lines
517 B
Plaintext

--- Input/mpg123/http.c.orig Thu Nov 15 12:55:56 2001
+++ Input/mpg123/http.c Thu Nov 15 12:56:07 2001
@@ -320,7 +320,7 @@
return i;
}
-void *http_buffer_loop(void *arg)
+void *mpg123_http_buffer_loop(void *arg)
{
gchar line[1024], *user, *pass, *host, *filename,
*status, *url, *temp, *file;
@@ -670,7 +670,7 @@
eof = FALSE;
buffer = g_malloc(buffer_length);
- pthread_create(&thread, NULL, http_buffer_loop, url);
+ pthread_create(&thread, NULL, mpg123_http_buffer_loop, url);
return 0;
}