Smallish.
[yaz-moved-to-github.git] / client / client.c
index 2ede5f1..5dbe876 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: client.c,v $
- * Revision 1.5  1995-05-29 08:10:47  quinn
+ * Revision 1.7  1995-06-02 09:50:09  quinn
+ * Smallish.
+ *
+ * Revision 1.6  1995/05/31  08:29:21  quinn
+ * Nothing significant.
+ *
+ * Revision 1.5  1995/05/29  08:10:47  quinn
  * Moved oid.c to util.
  *
  * Revision 1.4  1995/05/22  15:30:13  adam
@@ -39,7 +45,6 @@
 #endif
 
 #include <proto.h>
-#include <oid.h>
 
 #include <marcdisp.h>
 
@@ -100,9 +105,8 @@ static void send_initRequest()
     ODR_MASK_SET(req->options, Z_Options_search);
     ODR_MASK_SET(req->options, Z_Options_present);
 
-    ODR_MASK_SET(req->protocolVersion, 0);
-    ODR_MASK_SET(req->protocolVersion, 1);
-    ODR_MASK_SET(req->protocolVersion, 2);
+    ODR_MASK_SET(req->protocolVersion, Z_ProtocolVersion_1);
+    ODR_MASK_SET(req->protocolVersion, Z_ProtocolVersion_2);
 
     req->idAuthentication = auth;
 
@@ -198,7 +202,7 @@ int cmd_open(char *arg)
        conn = 0;
        return 0;
     }
-    printf("Ok!\n");
+    printf("Ok.\n");
     send_initRequest();
     return 2;
 }