mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04:00
Fix: Corrected namespace for igloo_httpp_destroy()
This commit is contained in:
parent
2eb25575e2
commit
7a0f63da90
@ -167,7 +167,7 @@ static void auth_user_url_clear(auth_client *auth_user)
|
|||||||
|
|
||||||
free(au_url->all_headers);
|
free(au_url->all_headers);
|
||||||
if (au_url->parser)
|
if (au_url->parser)
|
||||||
httpp_destroy(au_url->parser);
|
igloo_httpp_destroy(au_url->parser);
|
||||||
|
|
||||||
free(au_url);
|
free(au_url);
|
||||||
auth_user->authbackend_userdata = NULL;
|
auth_user->authbackend_userdata = NULL;
|
||||||
@ -200,7 +200,7 @@ static void handle_returned_header__complete(auth_client *auth_user)
|
|||||||
ICECAST_LOG_DEBUG("Got final status: %#H", tmp);
|
ICECAST_LOG_DEBUG("Got final status: %#H", tmp);
|
||||||
} else {
|
} else {
|
||||||
ICECAST_LOG_DEBUG("Got non-final status: %#H", tmp);
|
ICECAST_LOG_DEBUG("Got non-final status: %#H", tmp);
|
||||||
httpp_destroy(au_url->parser);
|
igloo_httpp_destroy(au_url->parser);
|
||||||
au_url->parser = NULL;
|
au_url->parser = NULL;
|
||||||
au_url->all_headers_len = 0;
|
au_url->all_headers_len = 0;
|
||||||
return;
|
return;
|
||||||
|
@ -250,7 +250,7 @@ void client_destroy(client_t *client)
|
|||||||
if (client->con)
|
if (client->con)
|
||||||
connection_close(client->con);
|
connection_close(client->con);
|
||||||
if (client->parser)
|
if (client->parser)
|
||||||
httpp_destroy(client->parser);
|
igloo_httpp_destroy(client->parser);
|
||||||
if (client->encoding)
|
if (client->encoding)
|
||||||
igloo_httpp_encoding_release(client->encoding);
|
igloo_httpp_encoding_release(client->encoding);
|
||||||
|
|
||||||
|
@ -1153,7 +1153,7 @@ static void _handle_shoutcast_compatible(client_queue_t *node)
|
|||||||
node->shoutcast = 0;
|
node->shoutcast = 0;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
httpp_destroy(parser);
|
igloo_httpp_destroy(parser);
|
||||||
client_destroy(client);
|
client_destroy(client);
|
||||||
}
|
}
|
||||||
free(http_compliant);
|
free(http_compliant);
|
||||||
|
@ -347,7 +347,7 @@ static client_t *open_relay_connection (relay_t *relay, relay_config_upstream_t
|
|||||||
server = calloc (1, len+1);
|
server = calloc (1, len+1);
|
||||||
strncpy (server, uri, len);
|
strncpy (server, uri, len);
|
||||||
connection_close (con);
|
connection_close (con);
|
||||||
httpp_destroy (parser);
|
igloo_httpp_destroy (parser);
|
||||||
con = NULL;
|
con = NULL;
|
||||||
parser = NULL;
|
parser = NULL;
|
||||||
}
|
}
|
||||||
@ -392,7 +392,7 @@ static client_t *open_relay_connection (relay_t *relay, relay_config_upstream_t
|
|||||||
if (con)
|
if (con)
|
||||||
connection_close (con);
|
connection_close (con);
|
||||||
if (parser)
|
if (parser)
|
||||||
httpp_destroy (parser);
|
igloo_httpp_destroy (parser);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1383,7 +1383,7 @@ static void *source_fallback_file (void *arg)
|
|||||||
if (connection_complete_source (source, 0) < 0)
|
if (connection_complete_source (source, 0) < 0)
|
||||||
break;
|
break;
|
||||||
source_client_thread (source);
|
source_client_thread (source);
|
||||||
httpp_destroy (parser);
|
igloo_httpp_destroy (parser);
|
||||||
} while (0);
|
} while (0);
|
||||||
if (file)
|
if (file)
|
||||||
fclose (file);
|
fclose (file);
|
||||||
|
Loading…
Reference in New Issue
Block a user