X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=ffe6b6d853fedbf3ccdffe737e2cc54f3ead3563;hb=f5a8d2cdf270eddfd7bb3be07e4fb4c38dbf807c;hp=0662ff514d6c07822ceba7bbd878f27f9d01dcae;hpb=bdbf85498a31f6d8b3081032e638df67958ef0f7;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 0662ff5..ffe6b6d 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -126,7 +126,7 @@ void http_sessions_destroy(http_sessions_t hs) { struct http_session *s_next = s->next; iochan_destroy(s->timeout_iochan); - destroy_session(s->psession); + session_destroy(s->psession); nmem_destroy(s->nmem); s = s_next; } @@ -199,7 +199,7 @@ void http_session_destroy(struct http_session *s) { /* destroying for real */ yaz_log(http_sessions->log_level, "%p HTTP Session %u destroyed", s, s->session_id); iochan_destroy(s->timeout_iochan); - destroy_session(s->psession); + session_destroy(s->psession); http_session_use(-1); nmem_destroy(s->nmem); }