X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=comstack%2Fcomstack.c;fp=comstack%2Fcomstack.c;h=a429f87793a4b6bf9833b8df568305a40e3f2bf1;hp=583817acf85858d96df49ebe352cfc20eee25438;hb=8195969f51aeb023710b6dd7ae39daaf7d625313;hpb=e903da3b97a96b97de07a6a6deebf4b64d63a152 diff --git a/comstack/comstack.c b/comstack/comstack.c index 583817a..a429f87 100644 --- a/comstack/comstack.c +++ b/comstack/comstack.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: comstack.c,v 1.14 2003-04-24 13:04:45 adam Exp $ + * $Id: comstack.c,v 1.15 2003-10-16 10:18:56 adam Exp $ */ #include @@ -99,10 +99,10 @@ COMSTACK cs_create_host(const char *type_and_host, int blocking, void **vp) host = type_and_host + 6; if (host[0] == '/' && host[1] == '/') host = host + 2; + proto = PROTO_HTTP; #else return 0; #endif - proto = PROTO_HTTP; } else {