diff options
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/src/client.c b/test/src/client.c index 2bd640205..fe646d64f 100644 --- a/test/src/client.c +++ b/test/src/client.c @@ -1117,6 +1117,8 @@ int rc; } printf("End of script\n"); +shutdown(sock, SHUT_WR); +while ((rc = read(sock, inbuffer, sizeof(inbuffer))) > 0) ; close(sock); exit(0); |