X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=445dc527b5718b45b49e47bc498ccd2da0456ceb;hb=af3b1f509a27cb38ca5c9cb7a22cd384f5ca7c70;hp=ba217e7e9d0db49015824131277a3a3a5423c7f7;hpb=1c0ca5448add3823add4ba4993da0864e2d3657a;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index ba217e7..445dc52 100644 --- a/client/client.c +++ b/client/client.c @@ -5,6 +5,9 @@ /** \file client.c * \brief yaz-client program */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -284,7 +287,7 @@ int send_apdu(Z_APDU *a) do_hex_dump(buf, len); if (cs_put(conn, buf, len) < 0) { - fprintf(stderr, "cs_put: %s", cs_errmsg(cs_errno(conn))); + fprintf(stderr, "cs_put: %s\n", cs_errmsg(cs_errno(conn))); close_session(); return 0; }