fixed compiler warnings issued by:
gcc 4.3 curl.h gcc type-checking glibc with enabled FORTIFY_SOURCE checking
This commit is contained in:
@@ -215,7 +215,7 @@ starter_start_pluto (starter_config_t *cfg, bool no_fork)
|
||||
_stop_requested = 0;
|
||||
|
||||
if (cfg->setup.prepluto)
|
||||
system(cfg->setup.prepluto);
|
||||
ignore_result(system(cfg->setup.prepluto));
|
||||
|
||||
pid = fork();
|
||||
switch (pid)
|
||||
@@ -258,7 +258,7 @@ starter_start_pluto (starter_config_t *cfg, bool no_fork)
|
||||
DBG_log("pluto (%d) started", _pluto_pid)
|
||||
)
|
||||
if (cfg->setup.postpluto)
|
||||
system(cfg->setup.postpluto);
|
||||
ignore_result(system(cfg->setup.postpluto));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user