Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35358
Reviewed-by: Colin Walters <walters@verbum.org>
#include <config.h>
#include "bus.h"
#include <config.h>
#include "bus.h"
#include "activation.h"
#include "connection.h"
#include "services.h"
#include "activation.h"
#include "connection.h"
#include "services.h"
#include <dbus/dbus-hash.h>
#include <dbus/dbus-credentials.h>
#include <dbus/dbus-internals.h>
#include <dbus/dbus-hash.h>
#include <dbus/dbus-credentials.h>
#include <dbus/dbus-internals.h>
#ifdef DBUS_CYGWIN
#include <signal.h>
#endif
#ifdef DBUS_CYGWIN
#include <signal.h>
#endif
va_list args;
if (!context->syslog)
va_list args;
if (!context->syslog)
+ {
+ /* we're not syslogging; just output to stderr */
+ va_start (args, msg);
+ vfprintf (stderr, msg, args);
+ fprintf (stderr, "\n");
+ va_end (args);
+ return;
+ }
const char *sender_loginfo;
const char *proposed_recipient_loginfo;
const char *sender_loginfo;
const char *proposed_recipient_loginfo;
- if (error == NULL && !(context->syslog && log))
+ if (error == NULL && !log)
return;
if (sender != NULL)
return;
if (sender != NULL)