summaryrefslogtreecommitdiffstats
path: root/lib/sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sdp.c')
-rw-r--r--lib/sdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index 14c08ad9..a0a4dd36 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -249,15 +249,15 @@ static int uuid2str(struct tupla *message, const uuid_t *uuid, char *str, size_t
switch (uuid->type) {
case SDP_UUID16:
str2 = string_lookup(message, uuid->value.uuid16);
- snprintf(str, n, str2);
+ snprintf(str, n, "%s", str2);
break;
case SDP_UUID32:
str2 = string_lookup(message, uuid->value.uuid32);
- snprintf(str, n, str2);
+ snprintf(str, n, "%s", str2);
break;
case SDP_UUID128:
str2 = string_lookup_uuid(message, uuid);
- snprintf(str, n, str2);
+ snprintf(str, n, "%s", str2);
break;
default:
snprintf(str, n, "Type of UUID (%x) unknown.", uuid->type);