summaryrefslogtreecommitdiffstatshomepage
path: root/ml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ml.c')
-rw-r--r--ml.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ml.c b/ml.c
index 7d2f63ed..cc49d263 100644
--- a/ml.c
+++ b/ml.c
@@ -1,4 +1,4 @@
-/* $Id: ml.c,v 1.5 2008/12/04 19:31:57 kristaps Exp $ */
+/* $Id: ml.c,v 1.6 2008/12/05 11:28:17 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -31,6 +31,14 @@ extern size_t strlcpy(char *, const char *, size_t);
int
+ml_putstring(struct md_mbuf *p, const char *buf, size_t *pos)
+{
+
+ return(ml_nputstring(p, buf, strlen(buf), pos));
+}
+
+
+int
ml_nputstring(struct md_mbuf *p,
const char *buf, size_t sz, size_t *pos)
{