diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-06-23 14:03:33 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-06-23 14:03:33 +0200 |
commit | 4e31411783b27692434a7759267156a5a0aabdd0 (patch) | |
tree | 90171b8dc95cec8ede5394ebc57d856bdb38c153 | |
parent | 6a0d68db9b6f75fd179436d93854065a3e602441 (diff) |
Fix infinite loop in wgt_info_param
Change-Id: I8a623a40e48108c8999083667dae1230da2d206f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/wgt-info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wgt-info.c b/src/wgt-info.c index 12b3966..283b905 100644 --- a/src/wgt-info.c +++ b/src/wgt-info.c @@ -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; } |