Don't call strncpy with mismatching length
authorRicardo Mones <ricardo@mones.org>
Wed, 21 Aug 2019 09:36:40 +0000 (11:36 +0200)
committerRicardo Mones <ricardo@mones.org>
Wed, 21 Aug 2019 09:36:40 +0000 (11:36 +0200)
commit960195482505a5d3facf15fbfb61817b11e9a08c
tree8f64847b35dbf2660a271fb98f75e18a8cec5057
parent14a29d805264e51c75f112f056913192ee6e669a
Don't call strncpy with mismatching length

Fixes "vcard.c:238:2: warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length"
src/vcard.c