summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 03:48:52 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 03:48:52 +0100
commit66dcd1342d3f9bf08dfc476df121c7355c84427a (patch)
tree1f3745e4cc29d6aa84289a3205faff96aacacf63 /lib
parente1d77b681efa7ca4a42be3d6189cbe477f9cd264 (diff)
Add braces around debug statement
Diffstat (limited to 'lib')
-rw-r--r--lib/sdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index 700c0d6d..22058bd2 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -821,8 +821,9 @@ int sdp_gen_pdu(sdp_buf_t *buf, sdp_data_t *d)
if (src && buf && buf->buf_size >= buf->data_size + data_size) {
memcpy(buf->data + buf->data_size, src, data_size);
buf->data_size += data_size;
- } else if (dtd != SDP_DATA_NIL)
+ } else if (dtd != SDP_DATA_NIL) {
SDPDBG("Gen PDU : Can't copy from invalid source or dest\n");
+ }
}
pdu_size += data_size;