--- src/sdpd-request.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/sdpd-request.c b/src/sdpd-request.c index ff00df7..93acb24 100644 --- a/src/sdpd-request.c +++ b/src/sdpd-request.c @@ -748,7 +748,7 @@ static int service_attr_req(sdp_req_t *req, sdp_buf_t *buf) cstate_size = sdp_set_cstate_pdu(buf, &newState); } else { if (buf->data_size == 0) - sdp_append_to_buf(buf, 0, 0); + sdp_append_to_buf(buf, NULL, 0); cstate_size = sdp_set_cstate_pdu(buf, NULL); } } -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html