Fix the value of Device.DynamicDNS.SupportedServices parameter

This commit is contained in:
Amin Ben Ramdhane 2019-12-17 11:31:24 +01:00
parent baed5957f0
commit a280a11f46

View file

@ -385,6 +385,7 @@ int get_DynamicDNS_SupportedServices(char *refparam, struct dmctx *ctx, void *da
pch = strtok_r(line, "\t", &spch);
remove_substring(pch, "\"");
remove_substring(pch, " ");
if (strcmp(buf, "") == 0) {
sprintf(buf, "%s", pch);
} else {