Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37900775
en ru br
Репозитории ALT
S:2.4.4-alt2
5.1: 2.3.2-alt3
4.1: 2.3.1-alt3
4.0: 2.3.1-alt3
3.0: 2.2.0-alt1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: icecast

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: icecast-2.3.1-ugly-workaround-hack-newcurl.patch
Скачать


diff --git a/icecast/src/auth_url.c b/icecast/src/auth_url.c
index c592485..e1321c9 100644
--- a/icecast/src/auth_url.c
+++ b/icecast/src/auth_url.c
@@ -518,7 +518,9 @@ int auth_get_url_auth (auth_t *authenticator, config_options_t *options)
     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);
+#ifdef CURLOPT_PASSWDFUNCTION
     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)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin