projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
363ba46
)
* missing openssl ifdef here too...
author
Wilfried Göesgens
<willi@citadel.org>
Sat, 11 Apr 2009 22:24:16 +0000
(22:24 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sat, 11 Apr 2009 22:24:16 +0000
(22:24 +0000)
webcit/webserver.c
patch
|
blob
|
history
diff --git
a/webcit/webserver.c
b/webcit/webserver.c
index 42d4c046a12d1abffdbd33edca57b2a83ac1f3e7..72d090c16485b21ed5460f24aea75588c2e1eb6c 100644
(file)
--- a/
webcit/webserver.c
+++ b/
webcit/webserver.c
@@
-394,6
+394,7
@@
int ClientGetLine(int *sock, StrBuf *Target, StrBuf *CLineBuf, const char **Pos)
const char *Error, *pch, *pchs;
int rlen, len, retval = 0;
+#ifdef HAVE_OPENSSL
if (is_https) {
int ntries = 0;
if (StrLength(CLineBuf) > 0) {
@@
-441,6
+442,7
@@
int ClientGetLine(int *sock, StrBuf *Target, StrBuf *CLineBuf, const char **Pos)
return -1;
}
else
+#endif
return StrBufTCP_read_buffered_line_fast(Target,
CLineBuf,
Pos,