| 964 |
if (name == NULL || name[0] == 0) { |
if (name == NULL || name[0] == 0) { |
| 965 |
UTIL_get_lang_msg("MSG_HOSTS_FILE_UNSPECIFY_ERROR", pvar, |
UTIL_get_lang_msg("MSG_HOSTS_FILE_UNSPECIFY_ERROR", pvar, |
| 966 |
"The host and its key cannot be added, because no known-hosts file has been specified.\n" |
"The host and its key cannot be added, because no known-hosts file has been specified.\n" |
| 967 |
"Restart TeraTerm and specify a read/write known-hosts file in the TTSSH Setup dialog box."); |
"Restart Tera Term and specify a read/write known-hosts file in the TTSSH Setup dialog box."); |
| 968 |
notify_nonfatal_error(pvar, pvar->ts->UIMsg); |
notify_nonfatal_error(pvar, pvar->ts->UIMsg); |
| 969 |
} else { |
} else { |
| 970 |
char FAR *keydata = format_host_key(pvar); |
char FAR *keydata = format_host_key(pvar); |
| 1029 |
if (name == NULL || name[0] == 0) { |
if (name == NULL || name[0] == 0) { |
| 1030 |
UTIL_get_lang_msg("MSG_HOSTS_FILE_UNSPECIFY_ERROR", pvar, |
UTIL_get_lang_msg("MSG_HOSTS_FILE_UNSPECIFY_ERROR", pvar, |
| 1031 |
"The host and its key cannot be added, because no known-hosts file has been specified.\n" |
"The host and its key cannot be added, because no known-hosts file has been specified.\n" |
| 1032 |
"Restart TeraTerm and specify a read/write known-hosts file in the TTSSH Setup dialog box."); |
"Restart Tera Term and specify a read/write known-hosts file in the TTSSH Setup dialog box."); |
| 1033 |
notify_nonfatal_error(pvar, pvar->ts->UIMsg); |
notify_nonfatal_error(pvar, pvar->ts->UIMsg); |
| 1034 |
} |
} |
| 1035 |
else { |
else { |