diff options
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3013,7 +3013,7 @@ static void on_config_backlog_limit_change (struct config_item *item) { struct app_context *ctx = item->user_data; - ctx->backlog_limit = MAX (item->value.integer, INT_MAX); + ctx->backlog_limit = MIN (item->value.integer, INT_MAX); LIST_FOR_EACH (struct buffer, iter, ctx->buffers) buffer_pop_excess_lines (ctx, iter); |