projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e9ae1
)
storage: Don't list provider settings directories
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 31 Oct 2011 13:31:33 +0000
(15:31 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 7 Nov 2011 16:40:07 +0000
(17:40 +0100)
src/storage.c
patch
|
blob
|
history
diff --git
a/src/storage.c
b/src/storage.c
index
d987f91
..
8b0db77
100644
(file)
--- a/
src/storage.c
+++ b/
src/storage.c
@@
-204,7
+204,8
@@
gchar **connman_storage_get_services()
while ((d = readdir(dir))) {
if (strcmp(d->d_name, ".") == 0 ||
- strcmp(d->d_name, "..") == 0)
+ strcmp(d->d_name, "..") == 0 ||
+ strncmp(d->d_name, "provider_", 9) == 0)
continue;
switch (d->d_type) {