]> code.citadel.org Git - citadel.git/commitdiff
* Fixed POP3 server responses ending in \n instead of \r\n as they should be.
authorArt Cancro <ajc@citadel.org>
Wed, 14 Feb 2001 04:23:54 +0000 (04:23 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 14 Feb 2001 04:23:54 +0000 (04:23 +0000)
  This was causing some clients (such as Pine) to lock up.

citadel/ChangeLog
citadel/serv_pop3.c

index a2ffd6622d8829fe3b097c966a93ae1751182386..dba80907f7b6c4b3023ff84bca500b6615b107e0 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 573.90  2001/02/14 04:23:54  ajc
+ * Fixed POP3 server responses ending in \n instead of \r\n as they should be.
+   This was causing some clients (such as Pine) to lock up.
+
  Revision 573.89  2001/02/13 04:06:14  ajc
  * Worked out the remaining bugs in IMAP FETCH for the BODYSTRUCTURE and
    BODY[n] data items.  I think.  So much protocol crud, so little time...
@@ -2404,3 +2408,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index a25211fd06502e82052b8f26e4b86fb5e2ce9740..df53f197f155024a69150a95fb76afc091b9b8cf 100644 (file)
@@ -282,7 +282,7 @@ void pop3_list(char *argbuf) {
                        return;
                }
                else {
-                       cprintf("+OK %d %d\n",
+                       cprintf("+OK %d %d\r\n",
                                which_one,
                                POP3->msgs[which_one-1].rfc822_length
                                );
@@ -320,7 +320,7 @@ void pop3_stat(char *argbuf) {
                }
        }
 
-       cprintf("+OK %d %d\n", total_msgs, total_octets);
+       cprintf("+OK %d %d\r\n", total_msgs, total_octets);
 }
 
 
@@ -496,7 +496,7 @@ void pop3_uidl(char *argbuf) {
                        return;
                }
                else {
-                       cprintf("+OK %d %ld\n",
+                       cprintf("+OK %d %ld\r\n",
                                which_one,
                                POP3->msgs[which_one-1].msgnum
                                );