Add 1-second sleep() before end of examples/listen.c
This commit is contained in:
parent
0603c716a8
commit
dde4d1d62f
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ int main(int argc, char **argv) {
|
|||
goto error_write;
|
||||
}
|
||||
|
||||
sleep(1);
|
||||
|
||||
patty_client_close(client, remote);
|
||||
patty_client_close(client, local);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue