mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-13 19:39:10 +01:00
Fix returned value format of the parameter Device.DynamicDNS.SupportedServices
This commit is contained in:
parent
37992a5bc9
commit
a1ceee7441
1 changed files with 2 additions and 2 deletions
|
|
@ -316,8 +316,8 @@ static int get_DynamicDNS_SupportedServices(char *refparam, struct dmctx *ctx, v
|
|||
continue;
|
||||
|
||||
pch = strtok_r(line, "\t", &spch);
|
||||
remove_substring(pch, "\"");
|
||||
remove_substring(pch, " ");
|
||||
pch= strstr(pch, "\"")+1;
|
||||
pch[strchr(pch, '\"')-pch]=0;
|
||||
if (strcmp(buf, "") == 0) {
|
||||
snprintf(buf, sizeof(buf), "%s", pch);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue