diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-02-15 08:09:39 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-02-15 08:09:39 +0000 |
commit | 65d1a12cfff5d53e535134dbf03eedcc02ffb589 (patch) | |
tree | 517701044146012ec190b06e5c955749e7d9c853 /tools/sdptool.c | |
parent | bce4ba5885e7afffce20dbd7214e633a31b95a81 (diff) |
Improve display of UUID-128 strings
Diffstat (limited to 'tools/sdptool.c')
-rw-r--r-- | tools/sdptool.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c index fb1a0fbf..efe59e02 100644 --- a/tools/sdptool.c +++ b/tools/sdptool.c @@ -989,7 +989,10 @@ static void print_service_class(void *value, void *userData) sdp_uuid2strn(uuid, UUID_str, MAX_LEN_UUID_STR); sdp_svclass_uuid2strn(uuid, ServiceClassUUID_str, MAX_LEN_SERVICECLASS_UUID_STR); - printf(" \"%s\" (0x%s)\n", ServiceClassUUID_str, UUID_str); + if (uuid->type != SDP_UUID128) + printf(" \"%s\" (0x%s)\n", ServiceClassUUID_str, UUID_str); + else + printf(" UUID 128: %s\n", UUID_str); } static void print_service_desc(void *value, void *user) |