summaryrefslogtreecommitdiffstats
path: root/common/log.h
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:17 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:27:07 +0000
commit951e6327576988251a9a479494e20d605efaad71 (patch)
treed85c703e652ca84a03d13d36228c2df3c9ab9329 /common/log.h
parentb00ca6e03d856398624b9f2b2cc19f2ab867aa66 (diff)
downloadxrdp-proprietary-951e6327576988251a9a479494e20d605efaad71.tar.gz
xrdp-proprietary-951e6327576988251a9a479494e20d605efaad71.zip
Make program_name constant, don't duplicate or free it
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h2
1 files changed, 1 insertions, 1 deletions
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;