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
/
msgbase.c
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 6cbec8fc4dcf0e02f3191dd1575efbcba21b7c9f..0cd11884316994fa95a8731c3e023b80d8642d61 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-1165,7
+1165,7
@@
int CtdlOutputPreLoadedMsg(struct CtdlMessage *TheMessage,
else if (i == 'R')
cprintf("To: %s%s", mptr, nl);
else if (i == 'T') {
- datestring(datestamp, atol(mptr),
+ datestring(datestamp,
sizeof datestamp,
atol(mptr),
DATESTRING_RFC822 );
cprintf("Date: %s%s", datestamp, nl);
}