yaz-client: add nl for cs_put error
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 9 Sep 2010 12:54:46 +0000 (14:54 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 9 Sep 2010 12:54:46 +0000 (14:54 +0200)
client/client.c

index ba217e7..c9351d2 100644 (file)
@@ -284,7 +284,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;
     }