Enabling SDP_DEBUG prevents build to be done.
---
lib/sdp.c | 3 +--
src/sdpd-request.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
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);
--
1.7.9
Hi Arek,
On Tue, May 22, 2012, Arek Lichwa wrote:
> Enabling SDP_DEBUG prevents build to be done.
> ---
> lib/sdp.c | 3 +--
> src/sdpd-request.c | 2 +-
> 2 files changed, 2 insertions(+), 3 deletions(-)
Applied. Thanks.
Johan