From 3095a398d88469d48a4e4ecf6e91898d82713699 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 11 Jul 2014 16:52:34 +0530 Subject: clients: Fix increment of client timeout --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 19642c6..b6793c6 100644 --- a/src/main.c +++ b/src/main.c @@ -111,7 +111,7 @@ err: static gboolean increment_write_timer (TranscodeClientCtx *ctx) { - ctx->seconds_since_write++; + ctx->seconds_since_write += 2; if (ctx->seconds_since_write < client_timeout) return G_SOURCE_CONTINUE; -- cgit v0.11.2-2-gd1dd