X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Furl.c;fp=src%2Furl.c;h=6b0ef5200504038962c6552a3819ac6d56a8dcce;hp=4fa8742f1e0d228ffbc4e4ef9ec7491b0d6142f7;hb=92085e57d085092c52e9b2ad9e0ee1405c0200c8;hpb=cc1a58f855146ca26d117f6424284beda0e7382b 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 {