diff --git a/src/main.c b/src/main.c index 9d7790b7..871a9113 100644 --- a/src/main.c +++ b/src/main.c @@ -340,8 +340,7 @@ no_prefix (const char *s) char *cp = p; int size = 3 + strlen (s) + 1; /* "no-STRING\0" */ - if (p + size >= buffer + sizeof (buffer)) - abort (); + assert(p + size <= buffer + sizeof (buffer)); cp[0] = 'n', cp[1] = 'o', cp[2] = '-'; strcpy (cp + 3, s);