Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/ttssh2/ttxssh/hosts.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5663 by yutakapon, Thu Sep 18 14:44:53 2014 UTC revision 5678 by maya, Sat Oct 4 03:39:24 2014 UTC
# Line 676  static int read_host_key(PTInstVar pvar, Line 676  static int read_host_key(PTInstVar pvar,
676                                  UTIL_get_lang_msg("MSG_HOSTS_HOSTNAME_INVALID_ERROR", pvar,                                  UTIL_get_lang_msg("MSG_HOSTS_HOSTNAME_INVALID_ERROR", pvar,
677                                                    "The host name contains an invalid character.\n"                                                    "The host name contains an invalid character.\n"
678                                                    "This session will be terminated.");                                                    "This session will be terminated.");
679                                  notify_fatal_error(pvar, pvar->ts->UIMsg);                                  notify_fatal_error(pvar, pvar->ts->UIMsg, TRUE);
680                          }                          }
681                          return 0;                          return 0;
682                  }                  }
# Line 687  static int read_host_key(PTInstVar pvar, Line 687  static int read_host_key(PTInstVar pvar,
687                          UTIL_get_lang_msg("MSG_HOSTS_HOSTNAME_EMPTY_ERROR", pvar,                          UTIL_get_lang_msg("MSG_HOSTS_HOSTNAME_EMPTY_ERROR", pvar,
688                                            "The host name should not be empty.\n"                                            "The host name should not be empty.\n"
689                                            "This session will be terminated.");                                            "This session will be terminated.");
690                          notify_fatal_error(pvar, pvar->ts->UIMsg);                          notify_fatal_error(pvar, pvar->ts->UIMsg, TRUE);
691                  }                  }
692                  return 0;                  return 0;
693          }          }
# Line 1423  static BOOL CALLBACK hosts_add_dlg_proc( Line 1423  static BOOL CALLBACK hosts_add_dlg_proc(
1423                  case IDCANCEL:                  /* kill the connection */                  case IDCANCEL:                  /* kill the connection */
1424  canceled:  canceled:
1425                          pvar->hosts_state.hosts_dialog = NULL;                          pvar->hosts_state.hosts_dialog = NULL;
1426                          notify_closed_connection(pvar);                          notify_closed_connection(pvar, "authentication cancelled");
1427                          EndDialog(dlg, 0);                          EndDialog(dlg, 0);
1428    
1429                          if (DlgHostsAddFont != NULL) {                          if (DlgHostsAddFont != NULL) {
# Line 1573  static BOOL CALLBACK hosts_replace_dlg_p Line 1573  static BOOL CALLBACK hosts_replace_dlg_p
1573                  case IDCANCEL:                  /* kill the connection */                  case IDCANCEL:                  /* kill the connection */
1574  canceled:  canceled:
1575                          pvar->hosts_state.hosts_dialog = NULL;                          pvar->hosts_state.hosts_dialog = NULL;
1576                          notify_closed_connection(pvar);                          notify_closed_connection(pvar, "authentication cancelled");
1577                          EndDialog(dlg, 0);                          EndDialog(dlg, 0);
1578    
1579                          if (DlgHostsReplaceFont != NULL) {                          if (DlgHostsReplaceFont != NULL) {
# Line 1725  static BOOL CALLBACK hosts_add2_dlg_proc Line 1725  static BOOL CALLBACK hosts_add2_dlg_proc
1725                  case IDCANCEL:                  /* kill the connection */                  case IDCANCEL:                  /* kill the connection */
1726  canceled:  canceled:
1727                          pvar->hosts_state.hosts_dialog = NULL;                          pvar->hosts_state.hosts_dialog = NULL;
1728                          notify_closed_connection(pvar);                          notify_closed_connection(pvar, "authentication cancelled");
1729                          EndDialog(dlg, 0);                          EndDialog(dlg, 0);
1730    
1731                          if (DlgHostsAddFont != NULL) {                          if (DlgHostsAddFont != NULL) {

Legend:
Removed from v.5663  
changed lines
  Added in v.5678

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26