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 7d35cbf7ad9003527d09d23ba392682575275bde..0279654ac9403a51945bcb2bba2183c2a91dddbb 100644
(file)
--- a/
src/exim_monitor/em_version.c
+++ b/
src/exim_monitor/em_version.c
@@
-1,10
+1,8
@@
-/* $Cambridge: exim/src/exim_monitor/em_version.c,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */
-
/*************************************************
* Exim Monitor *
*************************************************/
/*************************************************
* Exim Monitor *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 200
4
*/
+/* Copyright (c) University of Cambridge 1995 - 200
9
*/
/* See the file NOTICE for conditions of use and distribution. */
#include "mytypes.h"
/* See the file NOTICE for conditions of use and distribution. */
#include "mytypes.h"
@@
-21,13
+19,13
@@
version_init(void)
int i = 0;
uschar today[20];
int i = 0;
uschar today[20];
-version_string = US"2.0
5
";
+version_string = US"2.0
6
";
Ustrcpy(today, __DATE__);
if (today[4] == ' ') i = 1;
today[3] = today[6] = '-';
Ustrcpy(today, __DATE__);
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);