summaryrefslogtreecommitdiffstats
path: root/lib/vty.c
diff options
context:
space:
mode:
authorajs <ajs>2004-11-10 15:40:09 +0000
committerajs <ajs>2004-11-10 15:40:09 +0000
commitc5552d45c3361e13390f5dbea1a0a7b17ef2e116 (patch)
tree721bfe9cd0052a20fd4899ca93fd0d33344db212 /lib/vty.c
parent2794b54774f7c1e1823adaca9ffc269bea3e99f7 (diff)
downloadquagga-c5552d45c3361e13390f5dbea1a0a7b17ef2e116.tar.bz2
quagga-c5552d45c3361e13390f5dbea1a0a7b17ef2e116.tar.xz
Remove unused dont_more variable in vty_flush and add return 0 to vtysh_write.
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 1ef552f2..3e10a947 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1452,7 +1452,6 @@ static int
vty_flush (struct thread *thread)
{
int erase;
- int dont_more;
int vty_sock = THREAD_FD (thread);
struct vty *vty = THREAD_ARG (thread);
vty->t_write = NULL;
@@ -1977,6 +1976,7 @@ vtysh_write (struct thread *thread)
vty->t_write = NULL;
if (buffer_flush_available(vty->obuf, vty->fd))
vty_event (VTYSH_WRITE, vty->fd, vty);
+ return 0;
}
#endif /* VTYSH */