projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uninit var for session act
[pazpar2-moved-to-github.git]
/
src
/
http_command.c
diff --git
a/src/http_command.c
b/src/http_command.c
index
c800b62
..
cf9be94
100644
(file)
--- 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);