diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:08:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-10 01:08:05 +0200 |
commit | 5f9c3021db128e53013f8ad22781254f57c3c355 (patch) | |
tree | 7f3cacf3446c36b1eed7b43377e358c47a1e69cb /src/templating/mustach.c | |
parent | 09f09a21045ed6407fd23a9edb23c6da9299604c (diff) | |
download | exchange-5f9c3021db128e53013f8ad22781254f57c3c355.tar.xz |
exceptions-apply
Diffstat (limited to 'src/templating/mustach.c')
-rw-r--r-- | src/templating/mustach.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templating/mustach.c b/src/templating/mustach.c index 9797c533d..caa80dcc9 100644 --- a/src/templating/mustach.c +++ b/src/templating/mustach.c @@ -297,7 +297,7 @@ static int process(const char *template, struct iwrap *iwrap, FILE *file, const #endif if (len > MUSTACH_MAX_LENGTH) return MUSTACH_ERROR_TAG_TOO_LONG; - GNUNET_memcpy(name, beg, len); + memcpy(name, beg, len); name[len] = 0; break; } @@ -317,7 +317,7 @@ static int process(const char *template, struct iwrap *iwrap, FILE *file, const return MUSTACH_ERROR_BAD_SEPARATORS; oplen = l; tmp = alloca(oplen + 1); - GNUNET_memcpy(tmp, beg, oplen); + memcpy(tmp, beg, oplen); tmp[oplen] = 0; opstr = tmp; while (l < len && isspace(beg[l])) l++; @@ -325,7 +325,7 @@ static int process(const char *template, struct iwrap *iwrap, FILE *file, const return MUSTACH_ERROR_BAD_SEPARATORS; cllen = len - l; tmp = alloca(cllen + 1); - GNUNET_memcpy(tmp, beg + l, cllen); + memcpy(tmp, beg + l, cllen); tmp[cllen] = 0; clstr = tmp; break; |