Commit 7fe64671 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected namespace for igloo_httpp_destroy()

parent 8422361a
Pipeline #494 failed with stage
in 14 seconds
......@@ -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;
......
......@@ -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);
......
......@@ -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);
......
......@@ -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;
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment