summaryrefslogtreecommitdiffstats
path: root/src/sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp.c')
-rw-r--r--src/sdp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 7c3bd7d7..f138f1b3 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -181,10 +181,11 @@ static int uuid2str(struct tupla *message, const uuid_t *uuid, char *str, size_t
snprintf(str, n, str2);
break;
case SDP_UUID32:
- snprintf(str, n, "Error: This is uuid32");
- return -3;
+ str2 = string_lookup(message, uuid->value.uuid32);
+ snprintf(str, n, str2);
+ break;
case SDP_UUID128:
- snprintf(str, n, "Error: This is uuid128");
+ snprintf(str, n, "Error: This is UUID-128");
return -4;
default:
snprintf(str, n, "Type of UUID (%x) unknown.", uuid->type);