From: Adam Dickmeiss Date: Thu, 11 Mar 2010 13:55:23 +0000 (+0100) Subject: Fix uninit var for session act X-Git-Tag: v1.4.0~104 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=c834e64ed1f72cb55c30b9996e5fc867680212b1;p=pazpar2-moved-to-github.git Fix uninit var for session act --- diff --git a/src/http_command.c b/src/http_command.c index c800b62..cf9be94 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -107,7 +107,7 @@ struct http_session *http_session_create(struct conf_service *service, r->session_id = 0; r->timestamp = 0; r->nmem = nmem; - r->destroy_counter = r->activity_counter; + r->destroy_counter = r->activity_counter = 0; r->http_sessions = http_sessions; yaz_mutex_enter(http_sessions->mutex);