(expect): Simplify, no functional change.

This commit is contained in:
Markus Armbruster 2007-12-14 07:44:46 +00:00
parent 225f0f5132
commit 2b312fd943

View file

@ -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