From: Adam Dickmeiss Date: Thu, 22 Apr 2010 08:47:50 +0000 (+0200) Subject: connection_release private X-Git-Tag: v1.4.0~27 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=941e9e05bd43e7066746ef3ea7478dd65877af58;p=pazpar2-moved-to-github.git connection_release private --- diff --git a/src/connection.c b/src/connection.c index 1526938..7913651 100644 --- a/src/connection.c +++ b/src/connection.c @@ -288,7 +288,7 @@ static void connection_handler(IOCHAN iochan, int event) // Disassociate connection from client -void connection_release(struct connection *co) +static void connection_release(struct connection *co) { struct client *cl = co->client; @@ -439,11 +439,6 @@ static int connection_connect(struct connection *con, iochan_man_t iochan_man) return 0; } -const char *connection_get_url(struct connection *co) -{ - return client_get_url(co->client); -} - // Ensure that client has a connection associated int client_prep_connection(struct client *cl, int operation_timeout, int session_timeout, diff --git a/src/connection.h b/src/connection.h index 513ad9f..3bed571 100644 --- a/src/connection.h +++ b/src/connection.h @@ -34,7 +34,6 @@ struct host; struct session; void connect_resolver_host(struct host *host, iochan_man_t iochan); -void connection_release(struct connection *co); ZOOM_connection connection_get_link(struct connection *co); void connection_continue(struct connection *co);