libcacard: replace copy_string with strndup
authorChristophe Fergeau <cfergeau@redhat.com>
Fri, 22 Jul 2011 11:42:20 +0000 (13:42 +0200)
committerAlon Levy <alevy@redhat.com>
Fri, 22 Jul 2011 15:05:36 +0000 (18:05 +0300)
commit2b56cb87e46fbfc5dca31ed13ffc9a5422e1e405
treee9763395da2a16f521d43b63c06db898ec707085
parentd246b3cfd5378e45895b0834a8b8762733c0148f
libcacard: replace copy_string with strndup

copy_string reimplements strndup, this commit removes it and
replaces all copy_string uses with strndup.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
libcacard/vcard_emul_nss.c