X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=d7a0ec1d97eac24f51cd36c82fabb8a1dea5f206;hb=3498164f9058a807e5e25de88ecce61b97df2d14;hp=a2e8b13af780b0790bc09f4107fdfe86d7ac2458;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index a2e8b13..d7a0ec1 100644 --- a/client/client.c +++ b/client/client.c @@ -1945,7 +1945,7 @@ static Z_External *create_external_itemRequest(void) return r; } -static Z_External *create_external_ILL_APDU(int which) +static Z_External *create_external_ILL_APDU(void) { struct ill_get_ctl ctl; ILL_APDU *ill_apdu; @@ -2047,7 +2047,7 @@ static Z_External *create_ItemOrderExternal(const char *type, int itemno, { printf("using ILL-request\n"); r->u.itemOrder->u.esRequest->notToKeep->itemRequest = - create_external_ILL_APDU(ILL_APDU_ILL_Request); + create_external_ILL_APDU(); } else if (!strcmp(type, "xml") || !strcmp(type, "3")) { @@ -4965,7 +4965,10 @@ static void client(void) { line_in=readline(C_PROMPT); if (!line_in) + { + putchar("\n"); break; + } #if HAVE_READLINE_HISTORY_H if (*line_in) add_history(line_in);