* telnet.c (telnet): Fix grammar in some error messages
authorKen Raeburn <raeburn@mit.edu>
Tue, 1 May 2001 22:39:38 +0000 (22:39 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 1 May 2001 22:39:38 +0000 (22:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13224 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnet/ChangeLog
src/appl/telnet/telnet/telnet.c

index 86f10641843a5fe1842f077a026892696cde82c2..6cfdcaf39f0d621db6e6f70087c11f39b41ee0db 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-01  Ken Raeburn  <raeburn@mit.edu>
+
+       * telnet.c (telnet): Fix grammar in some error messages.  Based on
+       a patch from Garry Zacheiss.
+
 2000-12-06  Ken Raeburn  <raeburn@mit.edu>
 
        * commands.c (tn): Local var "user" should be volatile.
index 8db744b7f8dd64d98d878c3fda77e5a81758faed..75d78b4812c9469dfaf8fc29ed3d1ef71b8944f6 100644 (file)
@@ -2313,23 +2313,23 @@ telnet(user)
        while (1) {
            if (my_want_state_is_wont(TELOPT_AUTHENTICATION)) {
                printf("\nServer refused to negotiate authentication, which is required\n");
-               printf("for encryption.  Good bye.\n\r");
+               printf("for encryption.  Good-bye.\n\r");
                Exit(1);
            }
            if (auth_has_failed) {
-               printf("\nAuthentication negotation has failed, which is required for\n");
-               printf("encryption.  Good bye.\n\r");
+               printf("\nNegotiation of authentication, which is required for encryption,\n");
+               printf("has failed.  Good-bye.\n\r");
                Exit(1);
            }
            if (my_want_state_is_dont(TELOPT_ENCRYPT) ||
                my_want_state_is_wont(TELOPT_ENCRYPT)) {
-               printf("\nServer refused to negotiate encryption.  Good bye.\n\r");
+               printf("\nServer refused to negotiate encryption.  Good-bye.\n\r");
                Exit(1);
            }
            if (encrypt_is_encrypting())
                break;
            if (time(0) > timeout) {
-               printf("\nEncryption could not be enabled.  Goodbye.\n\r");
+               printf("\nEncryption could not be enabled.  Good-bye.\n\r");
                Exit(1);
            }
            if (printed_encrypt == 0) {
@@ -2343,7 +2343,7 @@ telnet(user)
                    intr_waiting = 1;
            }
            if (intr_happened) {
-                   printf("\nUser requested an interrupt.  Goodbye.\n\r");
+                   printf("\nUser requested an interrupt.  Good-bye.\n\r");
                    Exit(1);
            }
            telnet_spin();