Diff between 0bcca7899594bb4c6e4deb57142fe15f75513fec and c72af721b9e38501aa0d0d1f8095d7a9982da2de

Changed Files

File Additions Deletions Status
obexd/client/bluetooth.c +6 -1 modified

Full Patch

diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c
index e453b68..a832a3f 100644
--- a/obexd/client/bluetooth.c
+++ b/obexd/client/bluetooth.c
@@ -336,6 +336,8 @@ static sdp_session_t *service_connect(const bdaddr_t *src, const bdaddr_t *dst,
 	sdp_session_t *sdp;
 	GIOChannel *io;
 
+	DBG("");
+
 	sdp = sdp_connect(src, dst, SDP_NON_BLOCKING);
 	if (sdp == NULL)
 		return NULL;
@@ -358,6 +360,8 @@ static int session_connect(struct bluetooth_session *session)
 {
 	int err;
 
+	DBG("session %p", session);
+
 	if (session->port > 0) {
 		session->io = transport_connect(&session->src, &session->dst,
 							session->port,
@@ -380,7 +384,8 @@ static guint bluetooth_connect(const char *source, const char *destination,
 	struct bluetooth_session *session;
 	static guint id = 0;
 
-	DBG("");
+	DBG("src %s dest %s service %s port %u",
+				source, destination, service, port);
 
 	if (destination == NULL)
 		return 0;