From 7a0f63da9069d8ef90f17da5a28d7c86df14d4fa Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Wed, 14 Nov 2018 09:52:33 +0000 Subject: [PATCH] Fix: Corrected namespace for igloo_httpp_destroy() --- src/auth_url.c | 4 ++-- src/client.c | 2 +- src/connection.c | 2 +- src/slave.c | 4 ++-- src/source.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/auth_url.c b/src/auth_url.c index fcc1d772..98ce7077 100644 --- a/src/auth_url.c +++ b/src/auth_url.c @@ -167,7 +167,7 @@ static void auth_user_url_clear(auth_client *auth_user) free(au_url->all_headers); if (au_url->parser) - httpp_destroy(au_url->parser); + igloo_httpp_destroy(au_url->parser); free(au_url); 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); } else { 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->all_headers_len = 0; return; diff --git a/src/client.c b/src/client.c index 7a754e06..66cdae4b 100644 --- a/src/client.c +++ b/src/client.c @@ -250,7 +250,7 @@ void client_destroy(client_t *client) if (client->con) connection_close(client->con); if (client->parser) - httpp_destroy(client->parser); + igloo_httpp_destroy(client->parser); if (client->encoding) igloo_httpp_encoding_release(client->encoding); diff --git a/src/connection.c b/src/connection.c index e07e5201..dcb884c2 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1153,7 +1153,7 @@ static void _handle_shoutcast_compatible(client_queue_t *node) node->shoutcast = 0; return; } else { - httpp_destroy(parser); + igloo_httpp_destroy(parser); client_destroy(client); } free(http_compliant); diff --git a/src/slave.c b/src/slave.c index 03648b02..86630a71 100644 --- a/src/slave.c +++ b/src/slave.c @@ -347,7 +347,7 @@ static client_t *open_relay_connection (relay_t *relay, relay_config_upstream_t server = calloc (1, len+1); strncpy (server, uri, len); connection_close (con); - httpp_destroy (parser); + igloo_httpp_destroy (parser); con = NULL; parser = NULL; } @@ -392,7 +392,7 @@ static client_t *open_relay_connection (relay_t *relay, relay_config_upstream_t if (con) connection_close (con); if (parser) - httpp_destroy (parser); + igloo_httpp_destroy (parser); return NULL; } diff --git a/src/source.c b/src/source.c index f951b41a..7dc3ebae 100644 --- a/src/source.c +++ b/src/source.c @@ -1383,7 +1383,7 @@ static void *source_fallback_file (void *arg) if (connection_complete_source (source, 0) < 0) break; source_client_thread (source); - httpp_destroy (parser); + igloo_httpp_destroy (parser); } while (0); if (file) fclose (file);