Diff between 6defa88864393eae0242be8e5fca84adc93dc92d and 3e52d5a70e6cedb3f2a5decdf5ebbd1b5f27cd4f
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/opp.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c
index fc69544..976db1f 100644
--- a/obexd/plugins/opp.c
+++ b/obexd/plugins/opp.c
@@ -140,7 +140,7 @@ skip_auth:
if (name == NULL || strlen(name) == 0)
return -EBADR;
- if (g_str_equal(name, obex_get_name(os)) == FALSE)
+ if (g_strcmp0(name, obex_get_name(os)) != 0)
obex_set_name(os, name);
path = g_build_filename(folder, name, NULL);