diff options
Diffstat (limited to 'lib/sdp.c')
-rw-r--r-- | lib/sdp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |