diff options
author | hasso <hasso> | 2005-03-07 08:35:39 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-03-07 08:35:39 +0000 |
commit | 779e9fb5fef546ba4799db5daff45d06017be528 (patch) | |
tree | 8c8fb5e8fe78a2efac5b46ae102cf0ccd07599a2 /lib/vty.c | |
parent | 4b489895624207603ef108b2b59b932645ae1feb (diff) | |
download | quagga-779e9fb5fef546ba4799db5daff45d06017be528.tar.bz2 quagga-779e9fb5fef546ba4799db5daff45d06017be528.tar.xz |
* command.c: host.name might be NULL.
* vty.c: Fix fd leak.
[backport candidate]
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2246,7 +2246,7 @@ vty_use_backup_config (char *fullpath) free (fullpath_sav); free (fullpath_tmp); - return fopen (fullpath, "r"); + return ret; } /* Read up configuration file from file_name. */ |