From 78488dc84afac1398e582ae6bbaf9606d07afa1e Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 2 Jun 2012 18:38:28 -0700 Subject: checkpassword ... as downloaded --- checkpasswd/stralloc_opys.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 checkpasswd/stralloc_opys.c (limited to 'checkpasswd/stralloc_opys.c') diff --git a/checkpasswd/stralloc_opys.c b/checkpasswd/stralloc_opys.c new file mode 100644 index 0000000..78594b0 --- /dev/null +++ b/checkpasswd/stralloc_opys.c @@ -0,0 +1,8 @@ +#include "byte.h" +#include "str.h" +#include "stralloc.h" + +int stralloc_copys(stralloc *sa,char *s) +{ + return stralloc_copyb(sa,s,str_len(s)); +} -- cgit v1.2.3