]> code.citadel.org Git - citadel.git/commitdiff
(no commit message)
authorArt Cancro <ajc@citadel.org>
Mon, 12 Mar 2007 22:04:01 +0000 (22:04 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 12 Mar 2007 22:04:01 +0000 (22:04 +0000)
citadel/serv_calendar.c

index 789e3c7614023ee7cfd9840270bd46f0fea3df8e..ebff59970622d403d39aa2f8dd10c7d9fa737fc2 100644 (file)
@@ -1933,6 +1933,7 @@ int ical_obj_beforesave(struct CtdlMessage *msg)
 
        /* It must be an RFC822 message! */
        if (msg->cm_format_type != 4) {
+               lprintf(CTDL_DEBUG, "Rejecting non-RFC822 message\n");
                return 1;       /* You tried to save a non-RFC822 message! */
        }
        
@@ -1972,14 +1973,18 @@ int ical_obj_beforesave(struct CtdlMessage *msg)
                                return 0;
                        }
                        else {
+                               return 0;
+                               /*
+                               lprintf(CTDL_DEBUG, "Rejecting non-icalendar message\n");
                                return 1;
+                               */
                        }
                }
                p++;
        }
        
        /* Oops!  No Content-Type in this message!  How'd that happen? */
-       lprintf(CTDL_ERR, "RFC822 message with no Content-Type header!\n");
+       lprintf(CTDL_ERR, "Rejecting message with no Content-Type header\n");
        return 1;
 }