From c195e0fa7d66b0d279686cf9f82fe35d0e1f7c89 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 2 Apr 2009 08:33:04 +0000 Subject: There is no file to close here. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@339 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/keyfiles.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c index d91d0351..b20890cf 100644 --- a/libssh/keyfiles.c +++ b/libssh/keyfiles.c @@ -886,8 +886,6 @@ static char **ssh_get_knownhost_line(SSH_SESSION *session,FILE **file, char *fil continue; } } - fclose(*file); - *file = NULL; leave_function(); return tokens; } -- cgit