git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build on FreeBSD
[users/jgh/exim.git]
/
src
/
exim_monitor
/
em_version.c
diff --git
a/src/exim_monitor/em_version.c
b/src/exim_monitor/em_version.c
index a10aac4fba7636598b3820774c141958b12c28fc..0279654ac9403a51945bcb2bba2183c2a91dddbb 100644
(file)
--- a/
src/exim_monitor/em_version.c
+++ b/
src/exim_monitor/em_version.c
@@
-25,7
+25,7
@@
Ustrcpy(today, __DATE__);
if (today[4] == ' ') i = 1;
today[3] = today[6] = '-';
if (today[4] == ' ') i = 1;
today[3] = today[6] = '-';
-version_date =
(uschar *)
malloc(32);
+version_date =
US
malloc(32);
version_date[0] = 0;
Ustrncat(version_date, today+4+i, 3-i);
Ustrncat(version_date, today, 4);
version_date[0] = 0;
Ustrncat(version_date, today+4+i, 3-i);
Ustrncat(version_date, today, 4);