git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add macro support to -be expansion test mode. Bug 1623
[users/heiko/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 5f9600027eb63ac70822e015286df30f8d4417f6..a2edbfe8ac011aa2485339bf74cd3016f370302d 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.2 2005/01/04 10:00:42 ph10 Exp $ */
-
/*************************************************
* Exim Monitor *
*************************************************/
/*************************************************
* Exim Monitor *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
05
*/
+/* Copyright (c) University of Cambridge 1995 - 20
17
*/
/* 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);