diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-17 16:33:09 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-17 16:33:09 +0100 |
commit | bcda0d06d0dcd913e5c2f280152a16fac256998f (patch) | |
tree | 49eddded3fdd928666530b7c535abb302afcd6a1 | |
parent | a511b80f126dec00ce9697808a4e287a530a4626 (diff) | |
download | abrt-bcda0d06d0dcd913e5c2f280152a16fac256998f.tar.gz abrt-bcda0d06d0dcd913e5c2f280152a16fac256998f.tar.xz abrt-bcda0d06d0dcd913e5c2f280152a16fac256998f.zip |
fix my goof in cmdline escaping
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | lib/Utils/daemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/daemon.cpp b/lib/Utils/daemon.cpp index 7d60ce31..0c4b4cef 100644 --- a/lib/Utils/daemon.cpp +++ b/lib/Utils/daemon.cpp @@ -44,7 +44,7 @@ static char *append_escaped(char *start, const char *s) *dst++ = '\''; } - strncpy(dst, s, (p - old_p)); + strncpy(dst, (char *)old_p, (p - old_p)); dst += (p - old_p); if (*p == '\0') |