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:
bf1c552
)
Always create a default profile
author
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 6 Aug 2010 10:21:20 +0000
(12:21 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 6 Aug 2010 10:21:20 +0000
(12:21 +0200)
Even if there are other existing profiles, always create a default one.
src/profile.c
patch
|
blob
|
history
diff --git
a/src/profile.c
b/src/profile.c
index
830db89
..
a74d870
100644
(file)
--- a/
src/profile.c
+++ b/
src/profile.c
@@
-481,7
+481,7
@@
static int profile_init(void)
g_dir_close(dir);
}
- if (
g_hash_table_size(profile_hash) == 0
)
+ if (
default_profile == NULL
)
create_profile(PROFILE_DEFAULT_IDENT, "Default", NULL);
profiles_changed();