(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
|
int
|
||||||
expect(int s, int match, char *buf)
|
expect(int s, int match, char *buf)
|
||||||
{
|
{
|
||||||
int code = recvline(s, buf);
|
return recvline(s, buf) == match;
|
||||||
return code == match;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue