diff --git a/src/client/expect.c b/src/client/expect.c index d278eba4..4d29a536 100644 --- a/src/client/expect.c +++ b/src/client/expect.c @@ -105,8 +105,7 @@ parseid(char *line) int expect(int s, int match, char *buf) { - int code = recvline(s, buf); - return code == match; + return recvline(s, buf) == match; } void