From d6d9c1d27d65ea396aaed732bd4c9736b57b0572 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 5 Dec 2014 09:41:00 +0100 Subject: [PATCH] Make global my_name hold 127 chars --- bacula/src/lib/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index bc5da5ce65..fc2d1e3850 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -45,7 +45,7 @@ char *exepath = (char *)NULL; char *exename = (char *)NULL; char *catalog_db = NULL; /* database type */ char con_fname[500]; /* Console filename */ -char my_name[30] = {0}; /* daemon name is stored here */ +char my_name[MAX_NAME_LENGTH] = {0}; /* daemon name is stored here */ char host_name[50] = {0}; /* host machine name */ char fail_time[30] = {0}; /* Time of failure */ int verbose = 0; /* increase User messages */ -- 2.39.5