projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If we disconnect the server, clean up thoroughly, so we don't struggle over half...
[citadel.git]
/
webcit
/
serv_func.c
diff --git
a/webcit/serv_func.c
b/webcit/serv_func.c
index 71d5d57daa6eafd1ab2fdf2c7560381e40aea209..873a3ffde67114687c9492af222b5273a31a1e0a 100644
(file)
--- a/
webcit/serv_func.c
+++ b/
webcit/serv_func.c
@@
-172,6
+172,7
@@
int GetConnected (void)
WCC->serv_sock = tcp_connectsock(ctdlhost, ctdlport);
if (WCC->serv_sock < 0) {
+ WCC->connected = 0;
FreeStrBuf(&WCC->ReadBuf);
return 1;
}