Fix sol8 + ss11 compile errors.

Thanks to tysonite@gmail.com.
This commit is contained in:
Andreas Schneider
2009-07-20 22:50:45 +02:00
parent 2aec79ce36
commit 8843d8b68d
2 changed files with 14 additions and 2 deletions

View File

@@ -555,8 +555,10 @@ int main(int argc, char **argv){
else
batch_shell(session);
}
#ifdef WITH_SFTP
else
do_sftp(session);
do_sftp(session);
#endif
if(!sftp && !cmds[0])
do_cleanup(0);
ssh_disconnect(session);