From 0176e85ab8c3383a65e26e9dc7a67cb086a83750 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 21 Jul 2008 19:29:20 +0200 Subject: [PATCH] Honor pz:apdulog again (for ZOOM as well). --- src/connection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index 155619f..197dbcb 100644 --- a/src/connection.c +++ b/src/connection.c @@ -355,6 +355,7 @@ int connection_connect(struct connection *con) struct session_database *sdb = client_get_database(con->client); const char *zproxy = session_setting_oneval(sdb, PZ_ZPROXY); + const char *apdulog = session_setting_oneval(sdb, PZ_APDULOG); assert(host->ipport); assert(con); @@ -364,12 +365,13 @@ int connection_connect(struct connection *con) global_parameters.implementationName); ZOOM_options_set(zoptions, "implementationVersion", global_parameters.implementationVersion); - if (zproxy && *zproxy) { con->zproxy = xstrdup(zproxy); ZOOM_options_set(zoptions, "proxy", zproxy); } + if (apdulog && *apdulog) + ZOOM_options_set(zoptions, "apdulog", apdulog); if ((auth = (char*) session_setting_oneval(sdb, PZ_AUTHENTICATION))) ZOOM_options_set(zoptions, "user", auth); -- 1.7.10.4