Diff between f40e859fbb5308917f0aa73c9afde279eb60a3ce and cbd2b1348ba88667b5b02cb197170a21ba4d4ae9

Changed Files

File Additions Deletions Status
lib/sdp.c +1 -2 modified
src/sdpd-request.c +1 -1 modified

Full Patch

diff --git a/lib/sdp.c b/lib/sdp.c
index 3dcef60..de5277f 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -1387,7 +1387,7 @@ static void attr_print_func(void *value, void *userData)
 
 	SDPDBG("=====================================\n");
 	SDPDBG("ATTRIBUTE IDENTIFIER : 0x%x\n",  d->attrId);
-	SDPDBG("ATTRIBUTE VALUE PTR : 0x%x\n", (uint32_t)value);
+	SDPDBG("ATTRIBUTE VALUE PTR : %p\n", value);
 	if (d)
 		sdp_data_print(d);
 	else
@@ -3410,7 +3410,6 @@ int sdp_service_search_req(sdp_session_t *session, const sdp_list_t *search,
 		scanned += sizeof(uint16_t);
 		pdata_len -= sizeof(uint16_t);
 
-		SDPDBG("Total svc count: %d\n", total_rec_count);
 		SDPDBG("Current svc count: %d\n", rec_count);
 		SDPDBG("ResponseLength: %d\n", rsplen);
 
diff --git a/src/sdpd-request.c b/src/sdpd-request.c
index 93acb24..6a903c6 100644
--- a/src/sdpd-request.c
+++ b/src/sdpd-request.c
@@ -1037,7 +1037,7 @@ send_rsp:
 	if (send(req->sock, rsp.data, rsp.data_size, 0) < 0)
 		error("send: %s (%d)", strerror(errno), errno);
 
-	SDPDBG("Bytes Sent : %d", sent);
+	SDPDBG("Bytes Sent : %d", rsp.data_size);
 
 	free(rsp.data);
 	free(req->buf);