diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/initlog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/initlog.c b/src/initlog.c index 6bc6fe10..46fc0ee7 100644 --- a/src/initlog.c +++ b/src/initlog.c @@ -147,7 +147,6 @@ int logEvent(char *cmd, int eventtype,char *string) { int x=0,len; struct logInfo logentry; - if (cmd) { logentry.cmd = strdup(basename(cmd)); if ((logentry.cmd[0] =='K' || logentry.cmd[0] == 'S') && ( 30 <= logentry.cmd[1] <= 39 ) |