$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
Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* Initial CVS import
+
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) {