summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-01-12 16:08:15 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-01-12 16:19:49 -0300
commit0472c96f4702fadcb684ff0f4b42ce044c235024 (patch)
tree6037090ccd87c9ca582e781c8c4e8734740f835a /lib
parentf8f494cb4880fa6a3f8b641bf6676acfce659753 (diff)
Fix bug on sdp_copy_record.
sdp_copy_record where not copying uuid data correctly.
Diffstat (limited to 'lib')
-rw-r--r--lib/sdp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index 1c6ab191..d21ac1bb 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -1415,9 +1415,13 @@ static void *sdp_data_value(sdp_data_t *data)
val = &data->val.int128;
break;
case SDP_UUID16:
+ val = &data->val.uuid.value.uuid16;
+ break;
case SDP_UUID32:
+ val = &data->val.uuid.value.uuid32;
+ break;
case SDP_UUID128:
- val = &data->val.uuid;
+ val = &data->val.uuid.value.uuid128;
break;
case SDP_URL_STR8:
case SDP_URL_STR16: