projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed all references to sprintf from several files (not all files yet)
[citadel.git]
/
citadel
/
serv_smtp.c
diff --git
a/citadel/serv_smtp.c
b/citadel/serv_smtp.c
index ebbcd2b846df8c94d5e9ccae34208a884c6a9820..25082d77c12e04fca656e6bedf7f3a17de98c94c 100644
(file)
--- a/
citadel/serv_smtp.c
+++ b/
citadel/serv_smtp.c
@@
-470,7
+470,7
@@
void smtp_data(void) {
cprintf("354 Transmit message now; terminate with '.' by itself\r\n");
- datestring(nowstamp, time(NULL), DATESTRING_RFC822);
+ datestring(nowstamp,
sizeof nowstamp,
time(NULL), DATESTRING_RFC822);
body = mallok(4096);
/* FIXME