diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-12-19 03:09:56 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-12-19 06:11:44 +0100 |
commit | 0298f9c14163f0a255662a7bfc4749f82ecb77ff (patch) | |
tree | 19f6b03ad5c94b1bf261e295861ee129d1cab0fe /include/libipset/data.h | |
parent | 4f9d32575abfb37e01dd33fa28f4a91ff85b514b (diff) |
libipset: ipset_strncpy is really a strlcpy-type operation
Diffstat (limited to 'include/libipset/data.h')
-rw-r--r-- | include/libipset/data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libipset/data.h b/include/libipset/data.h index cb35393..4710963 100644 --- a/include/libipset/data.h +++ b/include/libipset/data.h @@ -100,7 +100,7 @@ enum ipset_opt { struct ipset_data; -extern void ipset_strncpy(char *dst, const char *src, size_t len); +extern void ipset_strlcpy(char *dst, const char *src, size_t len); extern bool ipset_data_flags_test(const struct ipset_data *data, uint64_t flags); extern void ipset_data_flags_set(struct ipset_data *data, uint64_t flags); |