X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fconnection.c;h=493d19deee9905a352880c8edfb3b4b4ed18176a;hb=5debc3f1f692c1ebafc04fe5603ef51611ec10e5;hp=cda779c9030d4b05e92e6bbb4c442786086db2d6;hpb=3123b48786d777f60276d7011b974a0977698b32;p=pazpar2-moved-to-github.git diff --git a/src/connection.c b/src/connection.c index cda779c..493d19d 100644 --- a/src/connection.c +++ b/src/connection.c @@ -419,6 +419,9 @@ int client_prep_connection(struct client *cl, if (zproxy && zproxy[0] == '\0') zproxy = 0; + if (!host) + return 0; + co = client_get_connection(cl); yaz_log(YLOG_DEBUG, "Client prep %s", client_get_url(cl));