projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
50659a5
)
Merge "Modified netconfig_is_wifi_tethering_on function for softap" into tizen
accepted/tizen/common/20161222.131139
accepted/tizen/ivi/20161223.095033
accepted/tizen/mobile/20161223.094943
accepted/tizen/tv/20161223.094954
accepted/tizen/wearable/20161223.095010
submit/tizen/20161222.015926
author
cheoleun moon
<chleun.moon@samsung.com>
Wed, 21 Dec 2016 01:14:41 +0000
(17:14 -0800)
committer
Gerrit Code Review
<gerrit@review.vlan103.tizen.org>
Wed, 21 Dec 2016 01:14:41 +0000
(17:14 -0800)
src/wifi-config.c
patch
|
blob
|
history
diff --git
a/src/wifi-config.c
b/src/wifi-config.c
index
9a910e8
..
3476576
100755
(executable)
--- a/
src/wifi-config.c
+++ b/
src/wifi-config.c
@@
-540,7
+540,6
@@
static gboolean _get_field(const gchar *config_id, const gchar *key, gchar **val
static GSList *_get_list(void)
{
GSList *list = NULL;
- struct dirent ent_struct;
struct dirent *dp = NULL;
DIR *dir;
@@
-550,7
+549,7
@@
static GSList *_get_list(void)
return NULL;
}
- while ((
readdir_r(dir, &ent_struct, &dp) == 0) && dp
) {
+ while ((
dp = readdir(dir)) != NULL
) {
if (g_strcmp0(dp->d_name, ".") == 0 || g_strcmp0(dp->d_name, "..") == 0 ||
strncmp(dp->d_name, WIFI_CONFIG_PREFIX, strlen(WIFI_CONFIG_PREFIX)) != 0) {
continue;