sap: Fix usage of wrong struct in get_properties()

This commit is contained in:
Lucas De Marchi 2012-10-18 19:03:47 -03:00 committed by Johan Hedberg
parent 6b351f591f
commit 5b804fe6f9

View File

@ -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;