summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2009-12-09 11:34:18 +0000
committerpaulo <paul@bayleaf.org.uk>2009-12-09 11:34:18 +0000
commitf24f220c54649d7a3098cb1aeaed87cac9d28053 (patch)
treee37169bca09b3a010dc3b05becebca31e243dee7 /lib/command.c
parent6699ea2724612e206b8e80a51ee1b9a0d00acded (diff)
downloadquagga-f24f220c54649d7a3098cb1aeaed87cac9d28053.tar.bz2
quagga-f24f220c54649d7a3098cb1aeaed87cac9d28053.tar.xz
Fixes to get as far as creating the thread and calling qps_pselect
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index efce3fa0..80b113e8 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2569,8 +2569,7 @@ DEFUN (config_write_file,
}
/* Make vty for configuration file. */
- file_vty = vty_new ();
- file_vty->fd = fd;
+ file_vty = vty_new (fd);
file_vty->type = VTY_FILE;
/* Config file header print. */