From 315147fb5968cb466939ad2c2cdf66ecd53e4222 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 20 Sep 2007 09:22:37 +0000 Subject: [PATCH] Client state Client_Connected is now considered active. It's the stage after connection has been established but before Init has been sent. This is another fix for bug #1628. --- debian/changelog | 6 ++++++ src/client.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d931ecb..2f478cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pazpar2 (1.0.3-5) unstable; urgency=low + + * More active client trickery. Bug #1628 again. + + -- Adam Dickmeiss Thu, 20 Sep 2007 10:36:11 +0200 + pazpar2 (1.0.3-4) unstable; urgency=low * Fixed bug #1628. diff --git a/src/client.c b/src/client.c index 7e0f729..02419ce 100644 --- a/src/client.c +++ b/src/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.24 2007-09-20 08:34:50 adam Exp $ +/* $Id: client.c,v 1.25 2007-09-20 09:22:37 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -982,6 +982,7 @@ int client_is_active(struct client *cl) { if (cl->connection && (cl->state == Client_Continue || cl->state == Client_Connecting || + cl->state == Client_Connected || cl->state == Client_Initializing || cl->state == Client_Searching || cl->state == Client_Presenting)) -- 1.7.10.4