summaryrefslogtreecommitdiffstats
path: root/src/sdp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-03-09 17:04:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-03-09 17:04:37 +0000
commit8bd7ef87e49b68c3090448f337454a1704f5e048 (patch)
tree84d93ab7264635ff0aabc7f231ab8b3327dab17f /src/sdp.c
parent8b11908eac4e0b4e14534ec2d44ae62806fdfd2f (diff)
Add some extra debug information
Diffstat (limited to 'src/sdp.c')
-rw-r--r--src/sdp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sdp.c b/src/sdp.c
index d2b40380..1e474db4 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -41,6 +41,8 @@
#include <syslog.h>
#include <sys/un.h>
#include <sys/socket.h>
+#include <sys/time.h>
+#include <sys/types.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
@@ -1008,7 +1010,9 @@ static void attr_print_func(void *value, void *userData)
void sdp_print_service_attr(sdp_list_t *svcAttrList)
{
+ SDPDBG("Printing service attr list %p\n", svcAttrList);
sdp_list_foreach(svcAttrList, attr_print_func, NULL);
+ SDPDBG("Printed service attr list %p\n", svcAttrList);
}
#endif