Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
[pazpar2-moved-to-github.git] / src / http_command.c
index 1d1f48a..0662ff5 100644 (file)
@@ -534,7 +534,7 @@ static void termlist_response(struct http_channel *c)
 
 static void termlist_result_ready(void *data)
 {
-    struct http_channel *c = (struct http_channel) data;
+    struct http_channel *c = (struct http_channel *) data;
     yaz_log(c->http_sessions->log_level, "termlist watch released");
     termlist_response(c);
 }
@@ -574,7 +574,7 @@ static void cmd_termlist(struct http_channel *c)
 
 size_t session_get_memory_status(struct session *session);
 
-static void         (struct http_channel *c, struct http_session *s)
+static void session_status(struct http_channel *c, struct http_session *s)
 {
     size_t session_nmem;
     wrbuf_printf(c->wrbuf, "<http_count>%u</http_count>\n", s->activity_counter);