SOURCES: icecast-curl.patch (NEW) - new

arekm arekm at pld-linux.org
Thu Jan 4 19:16:36 CET 2007


Author: arekm                        Date: Thu Jan  4 18:16:36 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   icecast-curl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/icecast-curl.patch
diff -u /dev/null SOURCES/icecast-curl.patch:1.1
--- /dev/null	Thu Jan  4 19:16:36 2007
+++ SOURCES/icecast-curl.patch	Thu Jan  4 19:16:31 2007
@@ -0,0 +1,13 @@
+diff -urN icecast-2.3.1.org/src/auth_url.c icecast-2.3.1/src/auth_url.c
+--- icecast-2.3.1.org/src/auth_url.c	2005-11-30 19:16:17.000000000 +0100
++++ icecast-2.3.1/src/auth_url.c	2007-01-04 19:16:13.376846750 +0100
+@@ -518,7 +518,9 @@
+     curl_easy_setopt (url_info->handle, CURLOPT_WRITEDATA, url_info->handle);
+     curl_easy_setopt (url_info->handle, CURLOPT_NOSIGNAL, 1L);
+     curl_easy_setopt (url_info->handle, CURLOPT_TIMEOUT, 15L);
++#if CURLOPT_PASSWDFUNCTION != 0
+     curl_easy_setopt (url_info->handle, CURLOPT_PASSWDFUNCTION, my_getpass);
++#endif
+     curl_easy_setopt (url_info->handle, CURLOPT_ERRORBUFFER, &url_info->errormsg[0]);
+ 
+     if (url_info->username && url_info->password)
================================================================


More information about the pld-cvs-commit mailing list