getting with the times, we dont need to wrap snprintf anymore
[citadel.git] / citadel / internet_addressing.c
index 38671ddc4a655c8c666bc79f785281ae8732ea5b..3237007d60a27d6a06d8153697f972049c49490b 100644 (file)
 #include "room_ops.h"
 #include "parsedate.h"
 #include "database.h"
-
 #include "ctdl_module.h"
-
-#ifndef HAVE_SNPRINTF
-#include "snprintf.h"
-#endif
-
-
 #ifdef HAVE_ICONV
 #include <iconv.h>
 
@@ -608,7 +601,6 @@ int convert_field(struct CtdlMessage *msg, const char *beg, const char *end) {
                snprintf(addr, sizeof addr, "%s@%s", user, node);
                if (msg->cm_fields['A'] == NULL)
                        msg->cm_fields['A'] = strdup(name);
-               processed = 1;
                if (msg->cm_fields['F'] == NULL)
                        msg->cm_fields['F'] = strdup(addr);
                processed = 1;