summaryrefslogtreecommitdiffstats
path: root/include/xtables.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-06-02 15:15:37 +0200
committerPhil Sutter <phil@nwl.cc>2021-06-07 14:50:27 +0200
commit68ed965b35cdc7b55d4ebc0ba37c1ac078ccbafb (patch)
tree0a32ff52ad5f9c949bed2d6264c8388837071350 /include/xtables.h
parent9b85e1ab3dbf0d9344562c5c76114496e3ebaa3a (diff)
extensions: libxt_string: Avoid buffer size warning for strncpy()
If the target buffer does not need to be null-terminated, one may simply use memcpy() and thereby avoid any compiler warnings. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/xtables.h')
0 files changed, 0 insertions, 0 deletions