(expect): Simplify, no functional change.
This commit is contained in:
parent
225f0f5132
commit
2b312fd943
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue