mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-17 17:51:22 +01:00
tr181: dynamicdns: fix invalid call to snprintf
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
This commit is contained in:
parent
dd31072c40
commit
1ea3b384d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1016,7 +1016,7 @@ int set_DynamicDNSServer_CheckInterval(char *refparam, struct dmctx *ctx, void *
|
|||
check_interval = atoi(value) * 60;
|
||||
else
|
||||
check_interval = atoi(value);
|
||||
snprintf(buf, sizeof(buf), sizeof(buf), "%d", check_interval);
|
||||
snprintf(buf, sizeof(buf), "%d", check_interval);
|
||||
dmuci_set_value_by_section((struct uci_section *)data, "check_interval", buf);
|
||||
|
||||
dmuci_get_value_by_section_string((struct uci_section *)data, "service_name", &service_name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue