summaryrefslogtreecommitdiffstats
path: root/src/sdpd-database.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-11 20:49:01 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-11 20:49:01 +0200
commit3193b75007d8dcb15ef0ee3c75ae1fe467a90730 (patch)
tree86ae1388d4ecb03e07bf7c9dd0202ac770b07579 /src/sdpd-database.c
parentc1bf8e7f46db78c7cc760d22b5c30fd2c6643620 (diff)
Hide the verbose SDP debug behind SDP_DEBUG
Diffstat (limited to 'src/sdpd-database.c')
-rw-r--r--src/sdpd-database.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sdpd-database.c b/src/sdpd-database.c
index 3642ae18..543f0d15 100644
--- a/src/sdpd-database.c
+++ b/src/sdpd-database.c
@@ -170,8 +170,8 @@ void sdp_record_add(const bdaddr_t *device, sdp_record_t *rec)
{
sdp_access_t *dev;
- debug("Adding rec : 0x%lx", (long) rec);
- debug("with handle : 0x%x", rec->handle);
+ SDPDBG("Adding rec : 0x%lx", (long) rec);
+ SDPDBG("with handle : 0x%x", rec->handle);
service_db = sdp_list_insert_sorted(service_db, rec, record_sort);
@@ -196,7 +196,7 @@ static sdp_list_t *record_locate(uint32_t handle)
return p;
}
- debug("Could not find svcRec for : 0x%x", handle);
+ SDPDBG("Could not find svcRec for : 0x%x", handle);
return NULL;
}
@@ -211,7 +211,7 @@ static sdp_list_t *access_locate(uint32_t handle)
return p;
}
- debug("Could not find access data for : 0x%x", handle);
+ SDPDBG("Could not find access data for : 0x%x", handle);
return NULL;
}
@@ -222,8 +222,8 @@ sdp_record_t *sdp_record_find(uint32_t handle)
{
sdp_list_t *p = record_locate(handle);
- if (!p) {
- debug("Couldn't find record for : 0x%x", handle);
+ if (!p) {
+ SDPDBG("Couldn't find record for : 0x%x", handle);
return 0;
}