From 5b804fe6f995ada08d257053688480beae2b6a21 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 18 Oct 2012 19:03:47 -0300 Subject: [PATCH] sap: Fix usage of wrong struct in get_properties() --- profiles/sap/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/sap/server.c b/profiles/sap/server.c index 9a7cb7269..cbe00b97a 100644 --- a/profiles/sap/server.c +++ b/profiles/sap/server.c @@ -1294,7 +1294,8 @@ static DBusMessage *disconnect(DBusConnection *conn, DBusMessage *msg, static DBusMessage *get_properties(DBusConnection *c, DBusMessage *msg, void *data) { - struct sap_connection *conn = data; + struct sap_server *server = data; + struct sap_connection *conn = server->conn; DBusMessage *reply; DBusMessageIter iter; DBusMessageIter dict;