asdfuser pushed a commit to branch master.

commit 359c17be56563c9ce8008ac219714a5346978ed9
Author: Guillaume Friloux <[email protected]>
Date:   Fri May 24 13:53:07 2013 +0200

    I missed a timer_reset for the case we did set a server timeout and no 
client timeout. Thanks again Cravix for the awesome reports.
---
 src/lib/ecore_con/ecore_con.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index d27e8dd..57f278e 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -1437,7 +1437,10 @@ _ecore_con_cl_timer_update(Ecore_Con_Client *cl)
         if (cl->host_server->client_disconnect_time > 0)
           {
              if (cl->until_deletion)
-               ecore_timer_interval_set(cl->until_deletion, 
cl->host_server->client_disconnect_time);
+               {
+                  ecore_timer_interval_set(cl->until_deletion, 
cl->host_server->client_disconnect_time);
+                  ecore_timer_reset(cl->until_deletion);
+               }
              else
                cl->until_deletion = 
ecore_timer_add(cl->host_server->client_disconnect_time, 
(Ecore_Task_Cb)_ecore_con_client_timer, cl);
           }

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to