mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Cleanup: HAVE_AUTH_URL -> HAVE_CURL
This commit is contained in:
parent
8b3372e085
commit
fd1f34c1e2
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user