Diff between 455fb131f08cddc9759c877e38ebff3b4bd975b2 and 8dbf8864845e2d0bae4b487cdcb711e8d5bbda83
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +1 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index c324764..edd377c 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2694,7 +2694,7 @@ static int update_record(struct browse_req *req, const char *uuid,
if (l == NULL) {
l = g_slist_find_custom(req->profiles_added, uuid,
bt_uuid_strcmp);
- if (l == NULL)
+ if (l != NULL)
return 0;
req->profiles_added = g_slist_append(req->profiles_added,
g_strdup(uuid));