summaryrefslogtreecommitdiff
path: root/checkpasswd/stralloc_cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'checkpasswd/stralloc_cat.c')
-rw-r--r--checkpasswd/stralloc_cat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/checkpasswd/stralloc_cat.c b/checkpasswd/stralloc_cat.c
new file mode 100644
index 0000000..dd08548
--- /dev/null
+++ b/checkpasswd/stralloc_cat.c
@@ -0,0 +1,7 @@
+#include "byte.h"
+#include "stralloc.h"
+
+int stralloc_cat(stralloc *sato,stralloc *safrom)
+{
+ return stralloc_catb(sato,safrom->s,safrom->len);
+}