Skip to content

Commit

Permalink
Ensure "syslog" string literal in murmur's main.cpp is wrapped in QLa…
Browse files Browse the repository at this point in the history
…tin1String.
  • Loading branch information
mkrautz committed Jul 27, 2014
1 parent 08d7cb3 commit 094ab1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/murmur/main.cpp
Expand Up @@ -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()) {
Expand Down

0 comments on commit 094ab1e

Please sign in to comment.