Event-client: add waiting for the server greeting to our error status (preventive..)
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 6 May 2012 20:19:40 +0000 (22:19 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 6 May 2012 20:19:40 +0000 (22:19 +0200)
citadel/event_client.c

index 058e87c50df0ff1f5bf916eadfe67fcc9de976f8..7b409fcf4a49404e85607402f5947faa046d642f 100644 (file)
@@ -595,6 +595,7 @@ set_start_callback(struct ev_loop *loop, AsyncIO *IO, int revents)
        case eReadMore:
        case eReadMessage:
        case eReadFile:
+               StrBufAppendBufPlain(IO->ErrMsg, HKEY("[while waiting for greeting]"), 0);
                ev_io_start(event_base, &IO->recv_event);
                break;
        case eSendReply: