]> code.citadel.org Git - citadel.git/commitdiff
* quick fix
authorArt Cancro <ajc@citadel.org>
Mon, 3 Dec 2001 02:57:53 +0000 (02:57 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 3 Dec 2001 02:57:53 +0000 (02:57 +0000)
citadel/msgbase.c
citadel/serv_pop3.c
citadel/server.h

index 2f90bb9ee6a0dbb95c1c75ff925fea74cea30151..11923c4f7e813a5b7919305d435363a7f80fcebe 100644 (file)
@@ -2145,7 +2145,7 @@ int CtdlDoIHavePermissionToPostInThisRoom(char *errmsgbuf) {
 }
 
 
-#define NYI_FIXME
+#ifdef NOT_YET_FINISHED /* FIXME */
 /*
  * Validate recipients, count delivery types and errors, and handle aliasing
  */
@@ -2208,7 +2208,7 @@ struct recptypes *validate_recipients(char *recipients) {
 
        return(ret);
 }
-#endif NYI_FIXME
+#endif /* FIXME */
 
 
 
index a9d77be7197a0eaa95f572112843acccde9e39a8..08350c5057cebf2ebb31e7f5cf7f685bcd090829 100644 (file)
@@ -1,21 +1,16 @@
 /*
  * $Id$ 
  *
- * POP3 server for the Citadel/UX system
- * Copyright (C) 1998-2000 by Art Cancro and others.
+ * POP3 service for the Citadel/UX system
+ * Copyright (C) 1998-2001 by Art Cancro and others.
  * This code is released under the terms of the GNU General Public License.
  *
  * Current status of standards conformance:
  *
  * -> All required POP3 commands described in RFC1939 are implemented.
- * 
- * -> Nearly all of the optional commands in RFC1939 are also implemented.
- *    The only one missing is APOP, because it implements a "shared secret"
- *    method  of authentication which would require some major changes to the
- *    Citadel server core.
- *
- *    This is no longer true- APOP is implemented.
  *
+ * -> All optional POP3 commands described in RFC1939 are also implemented.
+ * 
  * -> The deprecated "LAST" command is included in this implementation, because
  *    there exist mail clients which insist on using it (such as Bynari
  *    TradeMail, and certain versions of Eudora).
@@ -80,7 +75,10 @@ void pop3_cleanup_function(void) {
        lprintf(9, "Performing POP3 cleanup hook\n");
 
        if (POP3->num_msgs > 0) for (i=0; i<POP3->num_msgs; ++i) {
-               fclose(POP3->msgs[i].temp);
+               if (POP3->msgs[i].temp != NULL) {
+                       fclose(POP3->msgs[i].temp);
+                       POP3->msgs[i].temp = NULL;
+               }
        }
        if (POP3->msgs != NULL) phree(POP3->msgs);
 
index cf2dc329a87067c99bbf64af0a252a46be83e82c..4b24b9e64d89cb9016d8187b7c038a6be25d965a 100644 (file)
@@ -3,7 +3,7 @@
 /* Uncomment this if you want to track memory leaks.
  * This incurs some overhead, so don't use it unless you're debugging the code!
  */
-/* #define DEBUG_MEMORY_LEAKS */
+#define DEBUG_MEMORY_LEAKS
 
 /*
  * New format for a message in memory