1
0
Fork 0

Fix: Corrected namespace for igloo_httpp_destroy()

This commit is contained in:
Philipp Schafft 2018-11-14 09:52:33 +00:00
parent 2eb25575e2
commit 7a0f63da90
5 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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;
}

View File

@ -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);