projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c1cfe
)
storage: Remove support for loading services from default.profile
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 18 May 2012 08:44:06 +0000
(11:44 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 24 May 2012 13:33:24 +0000
(16:33 +0300)
src/storage.c
patch
|
blob
|
history
diff --git
a/src/storage.c
b/src/storage.c
index e35a893e27c3c9589b2835397a6adb5046a1bad8..a8540734794412db61911596ded3f1979ac239f7 100644
(file)
--- a/
src/storage.c
+++ b/
src/storage.c
@@
-255,16
+255,6
@@
GKeyFile *connman_storage_load_service(const char *service_id)
return NULL;
keyfile = storage_load(pathname);
- g_free(pathname);
- if (keyfile)
- return keyfile;
-
- pathname = g_strdup_printf("%s/%s", STORAGEDIR, DEFAULT);
- if(pathname == NULL)
- return NULL;
-
- keyfile = storage_load(pathname);
-
g_free(pathname);
return keyfile;