Change-Id: Ia1676731696d446a3511efb700dd89c1a1100b08
Signed-off-by: pr.jung <pr.jung@samsung.com>
#ifdef DBUS_ENABLE_CYNARA
#include <stdlib.h>
#include <cynara-session.h>
+#include <stdio.h>
#endif
/* Trim executed commands to this length; we want to keep logs readable */
if (dbus_connection_get_unix_user(connection, &uid) == FALSE)
return BUS_RESULT_FALSE;
- if (_dbus_connection_get_linux_security_label (connection, &label) == FALSE)
+ if (_dbus_connection_get_linux_security_label (connection, (char **)&label) == FALSE)
return BUS_RESULT_FALSE;
session_id = bus_connection_get_cynara_session_id (connection);
again:
/* See if we've exceeded max messages and need to disable reading */
- if (kdbus_transport->activator == NULL)
- check_read_watch (kdbus_transport);
+ if (kdbus_transport->activator == NULL)
+ check_read_watch (kdbus_transport);
if (total > kdbus_transport->max_bytes_read_per_iteration)
{