Avoid repeated string-copy building command-string for rspamd
[users/heiko/exim.git] / src / exim_monitor / em_version.c
index d1e04fa4dcd6d479327fbbf7e0a6a31987e3499c..0279654ac9403a51945bcb2bba2183c2a91dddbb 100644 (file)
@@ -1,5 +1,3 @@
-/* $Cambridge: exim/src/exim_monitor/em_version.c,v 1.6 2009/11/16 19:50:36 nm4 Exp $ */
-
 /*************************************************
 *                  Exim Monitor                  *
 *************************************************/
@@ -27,7 +25,7 @@ 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);