OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
822285d
)
sdpd-request: Fix passing zero instead of NULL
author
Syam Sidhardhan
<s.syam@samsung.com>
Thu, 12 Apr 2012 15:03:01 +0000
(20:33 +0530)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 13 Apr 2012 09:43:45 +0000
(12:43 +0300)
src/sdpd-request.c
patch
|
blob
|
history
diff --git
a/src/sdpd-request.c
b/src/sdpd-request.c
index
ff00df7
..
93acb24
100644
(file)
--- 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);
}
}