* IMAP date strings. More stupidity.
[citadel.git] / citadel / serv_smtp.c
index 4c557a94b3c24a61ec073e225ab127ff40127e63..0e372056adedd3325f53878ef7561e4c2e930447 100644 (file)
@@ -636,7 +636,7 @@ void smtp_data(void) {
 
        cprintf("354 Transmit message now; terminate with '.' by itself\r\n");
        
-       generate_rfc822_datestamp(nowstamp, time(NULL));
+       datestring(nowstamp, time(NULL), DATESTRING_RFC822);
        body = mallok(4096);
 
        if (body != NULL) snprintf(body, 4096,