| 866 |
case IDCANCEL: /* kill the connection */ |
case IDCANCEL: /* kill the connection */ |
| 867 |
canceled: |
canceled: |
| 868 |
pvar->auth_state.auth_dialog = NULL; |
pvar->auth_state.auth_dialog = NULL; |
| 869 |
notify_closed_connection(pvar); |
notify_closed_connection(pvar, "authentication cancelled"); |
| 870 |
EndDialog(dlg, 0); |
EndDialog(dlg, 0); |
| 871 |
|
|
| 872 |
if (DlgAuthFont != NULL) { |
if (DlgAuthFont != NULL) { |
| 969 |
UTIL_get_lang_msg("MSG_NOAUTHMETHOD_ERROR", pvar, |
UTIL_get_lang_msg("MSG_NOAUTHMETHOD_ERROR", pvar, |
| 970 |
"Server does not support any of the authentication options\n" |
"Server does not support any of the authentication options\n" |
| 971 |
"provided by TTSSH. This connection will now close."); |
"provided by TTSSH. This connection will now close."); |
| 972 |
notify_fatal_error(pvar, pvar->ts->UIMsg); |
notify_fatal_error(pvar, pvar->ts->UIMsg, TRUE); |
| 973 |
return 0; |
return 0; |
| 974 |
} else { |
} else { |
| 975 |
if (pvar->auth_state.auth_dialog != NULL) { |
if (pvar->auth_state.auth_dialog != NULL) { |
| 1189 |
|
|
| 1190 |
case IDCANCEL: /* kill the connection */ |
case IDCANCEL: /* kill the connection */ |
| 1191 |
pvar->auth_state.auth_dialog = NULL; |
pvar->auth_state.auth_dialog = NULL; |
| 1192 |
notify_closed_connection(pvar); |
notify_closed_connection(pvar, "authentication cancelled"); |
| 1193 |
EndDialog(dlg, 0); |
EndDialog(dlg, 0); |
| 1194 |
|
|
| 1195 |
if (DlgTisFont != NULL) { |
if (DlgTisFont != NULL) { |
| 1232 |
UTIL_get_lang_msg("MSG_CREATEWINDOW_AUTH_ERROR", pvar, |
UTIL_get_lang_msg("MSG_CREATEWINDOW_AUTH_ERROR", pvar, |
| 1233 |
"Unable to display authentication dialog box.\n" |
"Unable to display authentication dialog box.\n" |
| 1234 |
"Connection terminated."); |
"Connection terminated."); |
| 1235 |
notify_fatal_error(pvar, pvar->ts->UIMsg); |
notify_fatal_error(pvar, pvar->ts->UIMsg, TRUE); |
| 1236 |
} |
} |
| 1237 |
} |
} |
| 1238 |
} |
} |