From 941e9e05bd43e7066746ef3ea7478dd65877af58 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 22 Apr 2010 10:47:50 +0200 Subject: [PATCH] connection_release private --- src/connection.c | 7 +------ src/connection.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) 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); -- 1.7.10.4