From 92085e57d085092c52e9b2ad9e0ee1405c0200c8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 25 Apr 2012 16:06:49 +0200 Subject: [PATCH] yaz_url_exec: minor adjustments to log msgs --- src/url.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/url.c b/src/url.c index 4fa8742..6b0ef52 100644 --- a/src/url.c +++ b/src/url.c @@ -86,11 +86,11 @@ Z_HTTP_Response *yaz_url_exec(yaz_url_t p, const char *uri, conn = cs_create_host_proxy(uri, 1, &add, p->proxy); if (!conn) { - yaz_log(YLOG_WARN, "Bad address for URL:%s", uri); + yaz_log(YLOG_WARN, "Could not resolve URL: %s", uri); } else if (cs_connect(conn, add) < 0) { - yaz_log(YLOG_WARN, "Can not connect to URL:%s", uri); + yaz_log(YLOG_WARN, "Can not connect to URL: %s", uri); } else { @@ -98,7 +98,7 @@ Z_HTTP_Response *yaz_url_exec(yaz_url_t p, const char *uri, char *buf = odr_getbuf(p->odr_out, &len, 0); if (cs_put(conn, buf, len) < 0) - yaz_log(YLOG_WARN, "cs_put failed URL:%s", uri); + yaz_log(YLOG_WARN, "cs_put failed URL: %s", uri); else { char *netbuffer = 0; @@ -106,7 +106,7 @@ Z_HTTP_Response *yaz_url_exec(yaz_url_t p, const char *uri, int cs_res = cs_get(conn, &netbuffer, &netlen); if (cs_res <= 0) { - yaz_log(YLOG_WARN, "cs_get failed URL:%s", uri); + yaz_log(YLOG_WARN, "cs_get failed URL: %s", uri); } else { -- 1.7.10.4