From 951e6327576988251a9a479494e20d605efaad71 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:17 -0700 Subject: Make program_name constant, don't duplicate or free it --- common/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/log.h') diff --git a/common/log.h b/common/log.h index 6654028b..b90ac660 100644 --- a/common/log.h +++ b/common/log.h @@ -65,7 +65,7 @@ enum logReturns struct log_config { - char *program_name; + const char *program_name; char *log_file; int fd; unsigned int log_level; -- cgit v1.2.1