| 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 |
} |
} |
| 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 |
} |
} |
| 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) { |
| 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) { |
| 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) { |