1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Cleanup: HAVE_AUTH_URL -> HAVE_CURL

This commit is contained in:
Philipp Schafft 2018-05-29 07:11:22 +00:00 committed by Marvin Scholz
parent 8b3372e085
commit fd1f34c1e2
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ static int get_authenticator (auth_t *auth, config_options_t *options)
ICECAST_LOG_DEBUG("type is %s", auth->type);
if (strcmp(auth->type, AUTH_TYPE_URL) == 0) {
#ifdef HAVE_AUTH_URL
#ifdef HAVE_CURL
if (auth_get_url_auth(auth, options) < 0)
return -1;
break;

View File

@ -247,7 +247,7 @@ event_registration_t * event_new_from_xml_node(xmlNodePtr node) {
rv = event_get_log(ret, options);
} else if (strcmp(ret->type, EVENT_TYPE_EXEC) == 0) {
rv = event_get_exec(ret, options);
#ifdef HAVE_AUTH_URL
#ifdef HAVE_CURL
} else if (strcmp(ret->type, EVENT_TYPE_URL) == 0) {
rv = event_get_url(ret, options);
#endif