X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-z3950.c;h=400de9f26b9e3fc492a1ea351e96278c51cdea78;hp=9db63198382ac1aefe4f60bf8f4c3629925a77f0;hb=2c511722276f25a9e845dde8c2504bd3ca6d356a;hpb=cc3abee6f861d0166bef5333b1fc72fbdc8bd94c diff --git a/src/zoom-z3950.c b/src/zoom-z3950.c index 9db6319..400de9f 100644 --- a/src/zoom-z3950.c +++ b/src/zoom-z3950.c @@ -1766,7 +1766,7 @@ void ZOOM_handle_Z3950_apdu(ZOOM_connection c, Z_APDU *apdu) yaz_log(c->log_api, "%p handle_Z3950_apdu Close PDU", c); if (!ZOOM_test_reconnect(c)) { - ZOOM_set_error(c, ZOOM_ERROR_CONNECTION_LOST, c->host_port); + ZOOM_set_dset_error(c, ZOOM_ERROR_CONNECTION_LOST, "ZOOM", c->host_port, apdu->u.close->diagnosticInformation); ZOOM_connection_close(c); } break;