diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-15 22:11:05 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-15 22:11:05 +0100 |
commit | fdeb550ee0012451b04a37bc3f95e63c13adcb27 (patch) | |
tree | 65ba33a585ca5c8b231d878a053c546aa0e061c3 /degesch.c | |
parent | c4a18ec8a7c6c65c196ce6735e2fa7e4febf3a06 (diff) | |
download | xK-fdeb550ee0012451b04a37bc3f95e63c13adcb27.tar.gz xK-fdeb550ee0012451b04a37bc3f95e63c13adcb27.tar.xz xK-fdeb550ee0012451b04a37bc3f95e63c13adcb27.zip |
degesch: fix backlog limit
It was effectively infinite.
Diffstat (limited to 'degesch.c')
-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); |