From b578a520b16e812e8b8c6077ae589a83fb968a5c Mon Sep 17 00:00:00 2001 From: tema5002 Date: Mon, 8 Jun 2026 22:10:54 +0300 Subject: [PATCH] Whoops --- src/helper.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/helper.c b/src/helper.c index 588d91e..64faf6d 100644 --- a/src/helper.c +++ b/src/helper.c @@ -1,7 +1,5 @@ #include "helper.h" -#include - #include "types.h" int noom_startswith(const char* str, const char* compare) { @@ -59,7 +57,7 @@ void noom_safe_strcpy(char* buffer, noom_uint_t* pos, noom_uint_t buffer_size, c char *noom_strndup(const char *s, const noom_uint_t len) { char *whar = noom_alloc(len + 1); if (whar == 0) return 0; - memcpy(whar, s, len); + noom_memcpy(whar, s, len); whar[len] = '\0'; return whar; }