X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=cf9be94f2985a5d206f91a781e2ff2be6b2fbe92;hb=4193aa864cbf4f36d264179f9be1999ce74e77e6;hp=c800b62c8876170567de770df4a95c427ea1dbf4;hpb=259a84d2e57ab4e3e37efbc9e57d1d91da91d072;p=pazpar2-moved-to-github.git 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);