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 3127 by maya, Mon May 19 12:03:55 2008 UTC revision 3130 by doda, Fri May 23 05:04:09 2008 UTC
# Line 964  static void add_host_key(PTInstVar pvar) Line 964  static void add_host_key(PTInstVar pvar)
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 TeraTerm 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);
# Line 1029  static void delete_different_key(PTInstV Line 1029  static void delete_different_key(PTInstV
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 TeraTerm 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 {

Legend:
Removed from v.3127  
changed lines
  Added in v.3130

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