diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-26 08:47:13 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-10-26 08:47:13 +0000 |
| commit | d452fcefe0220893ef1a8f868640809b4766480c (patch) | |
| tree | ba39b0180313314a988dc44ee66de61d49f24f95 /src/libstddjb/string_quote_nodelim.c | |
| parent | b305bf616804db7176601bc2acd3495f0217e1c4 (diff) | |
| download | skalibs-d452fcefe0220893ef1a8f868640809b4766480c.tar.gz | |
Modify string_quote/unquote to allow encoding of space as \s
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/string_quote_nodelim.c')
| -rw-r--r-- | src/libstddjb/string_quote_nodelim.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstddjb/string_quote_nodelim.c b/src/libstddjb/string_quote_nodelim.c deleted file mode 100644 index a25a4e6..0000000 --- a/src/libstddjb/string_quote_nodelim.c +++ /dev/null @@ -1,10 +0,0 @@ -/* ISC license. */ - -#include <string.h> -#include <skalibs/stralloc.h> -#include <skalibs/skamisc.h> - -int string_quote_nodelim (stralloc *sa, char const *s, size_t len) -{ - return string_quote_nodelim_mustquote(sa, s, len, "\"", 1) ; -} |
