From: Nathan Wagner Date: Sat, 15 Sep 2018 08:19:12 +0000 (+0000) Subject: add library function to quote X-Git-Tag: v0.1.6~41 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=f1da0c69e93eef9213b05d179c6ff69de877d356 add library function to quote --- diff --git a/lib/quote.c b/lib/quote.c index 61d28c3..a342cb2 100644 --- a/lib/quote.c +++ b/lib/quote.c @@ -1,4 +1,5 @@ #include +#include #include "sqlite3.h" @@ -28,6 +29,7 @@ int zpm_quote(char *value, char *dest, size_t n) { dest[nch] = 0; } + /* returns either the number of characters written or would * be written */