summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-12-02 17:01:16 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-12-02 17:01:16 +0000
commit12aaa54ab17af9f02d60bc1ccc6fa11cf39ec8d1 (patch)
treeab027de50b7936c600a0f905de123a0ecba3bd85 /usr.bin/ssh/ssh-agent.c
parent586806ead1d607752cf8c10d161adb59e9f20b6e (diff)
use SSH_LISTEN_BACKLOG (=128) in listen(2).
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r--usr.bin/ssh/ssh-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index 01cc31fd943..a6f212cff06 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -35,7 +35,7 @@
#include "includes.h"
#include <sys/queue.h>
-RCSID("$OpenBSD: ssh-agent.c,v 1.116 2003/11/21 11:57:03 djm Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.117 2003/12/02 17:01:15 markus Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -1116,7 +1116,7 @@ main(int ac, char **av)
perror("bind");
cleanup_exit(1);
}
- if (listen(sock, 128) < 0) {
+ if (listen(sock, SSH_LISTEN_BACKLOG) < 0) {
perror("listen");
cleanup_exit(1);
}