Apply Debian patch for bug ID #57820

This commit is contained in:
Duncan Ferguson 2013-02-13 22:18:45 +00:00
parent a7296983e6
commit f264316002
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@
* Add in missing newline for some error messages
* Allow the path to rsh/ssh/telnet to be defined in the configuration file
* Move .csshrc to .csshrc.DISABLED since it should no longer be used
* Apply debian patch for bug ID #57820
2012-12-09 Duncan Ferguson <duncan_ferguson@user.sf.net> - v4.01_02
* Fix logic when using 'autoclose' on the command line or config file

View file

@ -1134,7 +1134,7 @@ sub add_host_by_name() {
$self->open_client_windows(@names);
}
if ( $menus{listbox}->curselection() ) {
if ( defined $menus{listbox} && $menus{listbox}->curselection() ) {
my @hosts = $menus{listbox}->get( $menus{listbox}->curselection() );
logmsg( 2, "host=", join( ' ', @hosts ) );
$self->open_client_windows( $self->resolve_names(@hosts) );