summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 50625c2fb..297e931fb 100644
--- a/string.c
+++ b/string.c
@@ -42,7 +42,7 @@ char* strecpy(char* dst, const char* src, const char* last)
assert(dst <= last);
for (; *src != '\0' && dst != last; ++dst, ++src) *dst = *src;
*dst = '\0';
-#if 0
+#if 1
if (dst == last && *src != '\0') {
error("String too long for destination buffer");
}