Skip to content
Permalink
Browse files

Ensure "syslog" string literal in murmur's main.cpp is wrapped in QLa…

…tin1String.
  • Loading branch information...
mkrautz committed Jul 27, 2014
1 parent 08d7cb3 commit 094ab1e154c4fec64047789186d4f10b17e1a02d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/murmur/main.cpp
@@ -339,7 +339,7 @@ int main(int argc, char **argv) {
// need to open log file early so log dir can be root owned:
// http://article.gmane.org/gmane.comp.security.oss.general/4404
#ifdef Q_OS_UNIX
unixhandler.logToSyslog = Meta::mp.qsLogfile == "syslog";
unixhandler.logToSyslog = Meta::mp.qsLogfile == QLatin1String("syslog");
if (detach && ! Meta::mp.qsLogfile.isEmpty() && !unixhandler.logToSyslog) {
#else
if (detach && ! Meta::mp.qsLogfile.isEmpty()) {

0 comments on commit 094ab1e

Please sign in to comment.
You can’t perform that action at this time.