* Client protocol synchronization check during exit from chat.
authorArt Cancro <ajc@citadel.org>
Thu, 24 Feb 2000 00:51:49 +0000 (00:51 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 24 Feb 2000 00:51:49 +0000 (00:51 +0000)
  This closes Bug #15.

citadel/ChangeLog
citadel/client_chat.c

index 4cf56dc4333bd52b75e3d501fe90b5549d7dd6de..7466ee8e85fd2916286ec277ffb13f1fad872b11 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 1.467  2000/02/24 00:51:48  ajc
+* Client protocol synchronization check during exit from chat.
+  This closes Bug #15.
+
 Revision 1.466  2000/02/22 16:37:28  ajc
 * Minor tweaks to RFC822 output to keep brain-damanged MS Outlook from dying
 
@@ -1650,3 +1654,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Initial CVS import 
+
index 217193d781d9300620c455cd1303db12bfa17520..5f6dca53368dceec2af4a119a4f3859cc77f4c8f 100644 (file)
@@ -148,6 +148,19 @@ RCL:           if (send_complete_line) {
 
                        fflush(stdout);
                        set_keepalives(KA_YES);
+
+
+                       /* Some users complained about the client and server
+                        * losing protocol synchronization when exiting chat.
+                        * This little dialog forces everything to be
+                        * hunky-dory.
+                        */
+                       serv_puts("ECHO __ExitingChat__");
+                       do {
+                               serv_gets(buf);
+                       } while (strcmp(buf, "200 __ExitingChat__"));
+
+
                        return;
                        }
                if (num_parms(buf)>=2) {