OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b351f5
)
sap: Fix usage of wrong struct in get_properties()
author
Lucas De Marchi
<lucas.de.marchi@gmail.com>
Thu, 18 Oct 2012 22:03:47 +0000
(19:03 -0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 19 Oct 2012 07:35:38 +0000
(10:35 +0300)
profiles/sap/server.c
patch
|
blob
|
history
diff --git
a/profiles/sap/server.c
b/profiles/sap/server.c
index
9a7cb72
..
cbe00b9
100644
(file)
--- 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;