Merge "afm-user-daemon: Remove it by default"
[src/app-framework-main.git] / src / wgt-info.c
index 12b3966..7793cbe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright 2015, 2016, 2017 IoT.bzh
+ Copyright (C) 2015-2019 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -501,6 +501,7 @@ const char *wgt_info_param(const struct wgt_desc_feature *feature, const char *n
        while(param) {
                if (0 == strcmp(name, param->name))
                        return param->value;
+               param = param->next;
        }
        return NULL;
 }