summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-20 20:10:49 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-03-20 20:10:49 +0000
commitd504a0767e08b04f2af78c10db79d8e35f0c3e92 (patch)
treef184a4a0ecb024ed2758f7f21bec72e9ca44b448 /daemon
parent1f84f3545e276c9086a865e18ded06eb50c2f41e (diff)
Add records based on the adapter address
Diffstat (limited to 'daemon')
-rw-r--r--daemon/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/database.c b/daemon/database.c
index e72af209..23c9381c 100644
--- a/daemon/database.c
+++ b/daemon/database.c
@@ -132,7 +132,7 @@ static DBusHandlerResult add_service_record_from_xml(DBusConnection *conn,
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
- if (add_record_to_server(sdp_record) < 0) {
+ if (add_record_to_server(BDADDR_ANY, sdp_record) < 0) {
error("Failed to register service record");
free(user_record);
sdp_record_free(sdp_record);