diff options
author | hasso <hasso> | 2005-03-07 08:35:39 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-03-07 08:35:39 +0000 |
commit | 12f6ea2300402c821595297ff0c2c75055e50031 (patch) | |
tree | 503bfaf41cd13b637d8ec21034d896347828a9d7 /lib/vty.c | |
parent | 42a66d7c484f95615e0364c4aa109ce5d095776a (diff) |
* 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. */ |