diff options
Diffstat (limited to 'src/cssh.c')
-rw-r--r-- | src/cssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -447,7 +447,7 @@ static void cleanup_sessions( ssh_session **session, ssh_data_t **ssh_data, scp_ if( verbose ) { fprintf( stderr, "Disconnecting from '%s', port %d..\n", host[i], port[i] ); } - if( *ssh_data != NULL ) { + if( ssh_data != NULL ) { ssh_channel *channel = &(*ssh_data)[i].channel; if( ssh_channel_is_open( *channel ) ) { ssh_channel_send_eof( *channel ); |