diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-08-24 08:45:38 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-08-24 08:45:38 +0200 |
commit | d55a6ef395b5fd910f30d1770215c81560e1d524 (patch) | |
tree | 886b4f28d66f693ae3d4d523869dee425923346a | |
parent | 15c5ebf0eb1300da7d85b715fc3a43892e49197b (diff) | |
download | cssh-d55a6ef395b5fd910f30d1770215c81560e1d524.tar.gz cssh-d55a6ef395b5fd910f30d1770215c81560e1d524.tar.bz2 |
fixed a channel error message
-rw-r--r-- | src/cssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -633,7 +633,7 @@ int main( int argc, char *argv[] ) rc = ssh_channel_poll( channel[i], 0 ); if( rc == SSH_ERROR ) { fprintf( stderr, "ERROR: ssh_channel_poll on stdout failed: %s\n", - ssh_get_error( ssh_channel_get_session( channel[i] ) ) ); + ssh_get_error( session[i] ) ); cleanup_sessions( &session, &channel, host, port, nof_sessions, args_info.verbose_given > 0 ); exit( EXIT_FAILURE ); } |