Change-Id: I3a698d42051c8736367a3e659cf71fd8a0d811f8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Name: net-config
Summary: TIZEN Network Configuration service
-Version: 1.1.96
+Version: 1.1.97
Release: 2
Group: System/Network
License: Apache-2.0
static GSList *_get_list(void)
{
GSList *list = NULL;
- struct dirent ent_struct;
struct dirent *dp = NULL;
DIR *dir;
return NULL;
}
- while ((readdir_r(dir, &ent_struct, &dp) == 0) && dp) {
+ while (dp = readdir(dir)) {
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;