Typo: missing pointer in type cast
[pazpar2-moved-to-github.git] / src / http_command.c
index d6c762d..6f04346 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;
     termlist_response(c);
 }
 
@@ -690,7 +690,7 @@ static void bytarget_response(struct http_channel *c) {
 static void bytarget_result_ready(void *data)
 {
     struct http_channel *c = (struct http_channel *) data;
-    yaz_log(YLOG_DEBUG, "bytarget watch released");
+    yaz_log(c->http_sessions->log_level, "bytarget watch released");
     bytarget_response(c);
 }