chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disobedience more robust against server restart
[disorder]
/
lib
/
eclient.c
diff --git
a/lib/eclient.c
b/lib/eclient.c
index 5e6cd6fa46b697e9568ae007fc2e96f3cac0b72c..519e6038b04eecf4022caf0b7c010d97e7e9777e 100644
(file)
--- a/
lib/eclient.c
+++ b/
lib/eclient.c
@@
-546,8
+546,10
@@
static void read_input(disorder_eclient *c) {
if(c->state > state_connecting)
consume(&c->input, (nl - c->input.vec) + 1);
}
if(c->state > state_connecting)
consume(&c->input, (nl - c->input.vec) + 1);
}
- if(c->eof)
+ if(c->eof)
{
comms_error(c, "reading from %s: server disconnected", c->ident);
comms_error(c, "reading from %s: server disconnected", c->ident);
+ c->authenticated = 0;
+ }
}
/* called with a line that has just been read */
}
/* called with a line that has just been read */
@@
-1231,4
+1233,3
@@
fill-column:79
indent-tabs-mode:nil
End:
*/
indent-tabs-mode:nil
End:
*/
-/* arch-tag:61ONz2p/LWaDRnToGI2+fg */