diff options
author | paulo <paul@bayleaf.org.uk> | 2009-12-09 13:03:24 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2009-12-09 13:03:24 +0000 |
commit | 052ac33cebca8347163998f8be997cc9548004bb (patch) | |
tree | 2747c48e2a96ff9aec9f3ff601f0ba8db0ca74dd /lib/vty.c | |
parent | f24f220c54649d7a3098cb1aeaed87cac9d28053 (diff) | |
download | quagga-052ac33cebca8347163998f8be997cc9548004bb.tar.bz2 quagga-052ac33cebca8347163998f8be997cc9548004bb.tar.xz |
Fix timeouts in nexus, fix LOCK in vty
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2244,8 +2244,8 @@ vty_serv_un (const char *path) void int vtysh_accept_r (qps_file qf, void* file_info) { - LOCK int accept_sock = qf->fd; + LOCK utysh_accept (accept_sock); UNLOCK } @@ -2254,8 +2254,8 @@ vtysh_accept_r (qps_file qf, void* file_info) static int vtysh_accept (struct thread *thread) { - LOCK int accept_sock = THREAD_FD (thread); + LOCK result = utysh_accept (accept_sock); UNLOCK return result; |