mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Fix cppcheck errors
This commit is contained in:
parent
e8a2d63566
commit
d62457bb11
1 changed files with 3 additions and 3 deletions
|
|
@ -377,8 +377,8 @@ static void http_success_cr(void)
|
||||||
/* Flawfinder: ignore */
|
/* Flawfinder: ignore */
|
||||||
FILE *pp = popen("ubus call tr069 inform", "r");
|
FILE *pp = popen("ubus call tr069 inform", "r");
|
||||||
if (pp) {
|
if (pp) {
|
||||||
pclose(pp);
|
int status = pclose(pp);
|
||||||
rc = WEXITSTATUS(pp);
|
rc = WEXITSTATUS(status);
|
||||||
}
|
}
|
||||||
retry = retry + 1;
|
retry = retry + 1;
|
||||||
}
|
}
|
||||||
|
|
@ -689,7 +689,7 @@ void icwmp_http_server_init(void)
|
||||||
cr_port_str[5] = '\0';
|
cr_port_str[5] = '\0';
|
||||||
set_uci_path_value(NULL, "cwmp.cpe.port", cr_port_str);
|
set_uci_path_value(NULL, "cwmp.cpe.port", cr_port_str);
|
||||||
/* Flawfinder: ignore */
|
/* Flawfinder: ignore */
|
||||||
FILE *pp = popen(FIREWALL_CWMP, 'r');
|
FILE *pp = popen(FIREWALL_CWMP, "r");
|
||||||
if (pp) {
|
if (pp) {
|
||||||
pclose(pp);
|
pclose(pp);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue