diff options
-rw-r--r-- | src/util/common_allocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c index b5473671b..c4cbe7c61 100644 --- a/src/util/common_allocation.c +++ b/src/util/common_allocation.c | |||
@@ -386,7 +386,7 @@ GNUNET_snprintf (char *buf, size_t size, const char *format, ...) | |||
386 | va_start (args, format); | 386 | va_start (args, format); |
387 | ret = VSNPRINTF (buf, size, format, args); | 387 | ret = VSNPRINTF (buf, size, format, args); |
388 | va_end (args); | 388 | va_end (args); |
389 | GNUNET_assert (ret <= size); | 389 | GNUNET_assert (ret < size); |
390 | return ret; | 390 | return ret; |
391 | } | 391 | } |
392 | 392 | ||