summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-11-14 14:02:56 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-11-14 14:02:56 +0000
commitdbf87c7837cb35cee6c6e41c9ab4ee6e2ce3fd95 (patch)
tree26034576df8cba1984f25f3faedbe1f2603e7095 /hcid
parenta25501d26a40907f384d223d8f87f93e5ff89ff7 (diff)
Don't call sdp_str2svclass twice
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c
index b6313f7b..f40fc1d7 100644
--- a/hcid/dbus-common.c
+++ b/hcid/dbus-common.c
@@ -91,7 +91,7 @@ int str2uuid(uuid_t *uuid, const char *string)
svclass = sdp_str2svclass(string);
if (svclass) {
- sdp_uuid16_create(uuid, sdp_str2svclass(string));
+ sdp_uuid16_create(uuid, svclass);
return 0;
}