diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2009-01-12 16:08:15 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2009-01-12 16:19:49 -0300 |
commit | 0472c96f4702fadcb684ff0f4b42ce044c235024 (patch) | |
tree | 6037090ccd87c9ca582e781c8c4e8734740f835a /lib | |
parent | f8f494cb4880fa6a3f8b641bf6676acfce659753 (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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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: |