X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-c.c;h=d557015d720b1bf23a43008a0e81ef703d3f0ece;hb=31c5e5fa92f5980deac3c042b765e4148329cd1b;hp=cab02e585815368e229a2e933d894f4db32f9694;hpb=0ae46bd1e19dcc853c758af505c6f62f1f6be060;p=yaz-moved-to-github.git diff --git a/src/zoom-c.c b/src/zoom-c.c index cab02e5..d557015 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -178,7 +178,6 @@ ZOOM_task ZOOM_connection_insert_task(ZOOM_connection c, int which) task->running = 0; task->which = which; - clear_error(c); return task; } @@ -338,6 +337,8 @@ static zoom_sru_mode get_sru_mode_from_string(const char *s) return zoom_sru_get; else if (!yaz_matchstr(s, "post")) return zoom_sru_post; + else if (!yaz_matchstr(s, "solr")) + return zoom_sru_solr; return zoom_sru_error; } @@ -1595,7 +1596,7 @@ static void handle_http(ZOOM_connection c, Z_HTTP_Response *hres) } if (cret == zoom_complete) { - yaz_log(YLOG_LOG, "removing tasks in handle_http"); + yaz_log(c->log_details, "removing tasks in handle_http"); ZOOM_connection_remove_task(c); } {