summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c763ae8)
Change-Id: Icaf8b79c7ffb9e248ccbfdb5527fd53fc059f2f9
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
int i = 0;
iter = g_slist_nth(g_client_list, 0);
int i = 0;
iter = g_slist_nth(g_client_list, 0);
- for (i = 0; i < count; i++) {
+ while (NULL != iter) {
+ if (NULL == iter->data) {
+ count--;
+ iter = g_slist_next(iter);
+ continue;
+ }
+
data = iter->data;
tmp[i] = data->uid;
iter = g_slist_next(iter);
data = iter->data;
tmp[i] = data->uid;
iter = g_slist_next(iter);
hnd = tmp->data;
return hnd->app_agreed;
hnd = tmp->data;
return hnd->app_agreed;
-}
\ No newline at end of file