diff options
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index 64f761094d..ca6a621d0a 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -735,7 +735,7 @@ main(int argc, char *argv[]) /* Wait for incoming connection. */ data_socket = accept(connection_socket, NULL, NULL); - if (ret == \-1) { + if (data_socket == \-1) { perror("accept"); exit(EXIT_FAILURE); } |
