summaryrefslogtreecommitdiffstats
path: root/common/log.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-11-04 22:05:06 +0000
committerjsorg71 <jsorg71>2006-11-04 22:05:06 +0000
commit00d8b7106f8b25f313af03c7ef9949873071a6b8 (patch)
tree561d325577a27d1941114611c670a5c82f9582a6 /common/log.c
parent02118ba0a17d7f3c784ff657e4b107185d3af53e (diff)
downloadxrdp-proprietary-00d8b7106f8b25f313af03c7ef9949873071a6b8.tar.gz
xrdp-proprietary-00d8b7106f8b25f313af03c7ef9949873071a6b8.zip
commit patch 1589325, slightly modified - code cleanup
Diffstat (limited to 'common/log.c')
-rw-r--r--common/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.c b/common/log.c
index eb9e9feb..1c532666 100644
--- a/common/log.c
+++ b/common/log.c
@@ -212,7 +212,7 @@ log_start(const char* progname, const char* logfile, const unsigned int loglvl,
}
else
{
- l_cfg->log_file = g_strdup((char*) logfile);
+ l_cfg->log_file = g_strdup(logfile);
}
/* if progname is NULL, we use a default name */
@@ -222,7 +222,7 @@ log_start(const char* progname, const char* logfile, const unsigned int loglvl,
}
else
{
- l_cfg->program_name = g_strdup((char*) progname);
+ l_cfg->program_name = g_strdup(progname);
}
/* setting log level */