1 /* $Cambridge: exim/src/exim_monitor/em_version.c,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */
3 /*************************************************
5 *************************************************/
7 /* Copyright (c) University of Cambridge 1995 - 2004 */
8 /* See the file NOTICE for conditions of use and distribution. */
15 extern uschar *version_string;
16 extern uschar *version_date;
24 version_string = US"2.05";
26 Ustrcpy(today, __DATE__);
27 if (today[4] == ' ') i = 1;
28 today[3] = today[6] = '-';
30 version_date = (uschar *)malloc(32);
32 Ustrncat(version_date, today+4+i, 3-i);
33 Ustrncat(version_date, today, 4);
34 Ustrncat(version_date, today+7, 4);
35 Ustrcat(version_date, " ");
36 Ustrcat(version_date, __TIME__);
39 /* End of em_version.c */