From: Wilfried Göesgens Date: Sun, 21 Feb 2010 18:09:29 +0000 (+0000) Subject: * just define vars if we need them X-Git-Tag: v7.86~400 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=5782e049b0d28a20be47cd123921a4ce12a1d512 * just define vars if we need them --- diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 0ad0e0618..8d688d256 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -458,10 +458,11 @@ int serv_read_binary(StrBuf *Ret, size_t total_len, StrBuf *Buf) int ClientGetLine(ParsedHttpHdrs *Hdr, StrBuf *Target) { - const char *Error, *pch, *pchs; + const char *Error; +#ifdef HAVE_OPENSSL + const char *pch, *pchs; int rlen, len, retval = 0; -#ifdef HAVE_OPENSSL if (is_https) { int ntries = 0; if (StrLength(Hdr->ReadBuf) > 0) {