diff options
author | ajs <ajs> | 2004-11-10 15:40:09 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-11-10 15:40:09 +0000 |
commit | 976d8c734bc1568ac05b968954ed3c3dc5796b9a (patch) | |
tree | f261b02cbea081d22f1de5a426a209532b536940 /lib | |
parent | 5932020bb11c1b5447f4aa4423062f275ab1fa94 (diff) |
Remove unused dont_more variable in vty_flush and add return 0 to vtysh_write.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |