-
Nils Goroll authored
In function ‘wadj_cfg_req.isra.1’, inlined from ‘vmod_random_add_backend’ at vmod_weightadjust.c:291:14: vmod_weightadjust.c:170:10: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] gcc does not understand that we are adding a NUL ourselves. Avoid this warning by a differnt but equally safe approach. Reported by volker27@gmx.at, thank you
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
tests | ||
Makefile.am | ||
random.c | ||
vdir.c | ||
vdir.h | ||
vmod_weightadjust.c | ||
vmod_weightadjust.h | ||
vmod_weightadjust.vcc | ||
wadj_prop.h | ||
wadj_thread.c | ||
wadj_thread.h |