projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c39d1c
)
* just define vars if we need them
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 21 Feb 2010 18:09:29 +0000
(18:09 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 21 Feb 2010 18:09:29 +0000
(18:09 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 0ad0e0618d1bb2eb49db3db75704688eb38d5b12..8d688d2564f467aa78fa4a736b5b378976e69ca2 100644
(file)
--- 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) {