summaryrefslogtreecommitdiffstats
path: root/libssh/keyfiles.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 08:33:04 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 08:33:04 +0000
commitc195e0fa7d66b0d279686cf9f82fe35d0e1f7c89 (patch)
treeff962b0c27ce9eadec46dacf5726fc0c2c77befb /libssh/keyfiles.c
parentf8d5bb9785cd3aa36cfe95609230993f1fbfad52 (diff)
downloadlibssh-c195e0fa7d66b0d279686cf9f82fe35d0e1f7c89.tar.gz
libssh-c195e0fa7d66b0d279686cf9f82fe35d0e1f7c89.tar.xz
libssh-c195e0fa7d66b0d279686cf9f82fe35d0e1f7c89.zip
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
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r--libssh/keyfiles.c2
1 files changed, 0 insertions, 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;
}