commit | 12f6ea2300402c821595297ff0c2c75055e50031 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Mon Mar 07 08:35:39 2005 +0000 |
committer | hasso <hasso> | Mon Mar 07 08:35:39 2005 +0000 |
tree | 503bfaf41cd13b637d8ec21034d896347828a9d7 | |
parent | 42a66d7c484f95615e0364c4aa109ce5d095776a [diff] [blame] |
* command.c: host.name might be NULL. * vty.c: Fix fd leak. [backport candidate]
diff --git a/lib/vty.c b/lib/vty.c index 9cc5ec4..f8e483f 100644 --- a/lib/vty.c +++ b/lib/vty.c
@@ -2246,7 +2246,7 @@ free (fullpath_sav); free (fullpath_tmp); - return fopen (fullpath, "r"); + return ret; } /* Read up configuration file from file_name. */