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
This commit is contained in:
Andreas Schneider
2009-04-02 08:33:04 +00:00
parent f8d5bb9785
commit c195e0fa7d

View File

@@ -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;
}