X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-my-client.cpp;h=3a143bf6812791cd7d4f442c1544dcf866a9c30a;hb=5e3f7e1a720a08d30c407049c94c6ca825a5ed27;hp=cce989de59b0efd6728afb31012ae9ae7390d2d1;hpb=6acf28a0195560e01bac84460171b54f176a0d92;p=yazpp-moved-to-github.git diff --git a/src/yaz-my-client.cpp b/src/yaz-my-client.cpp index cce989d..3a143bf 100644 --- a/src/yaz-my-client.cpp +++ b/src/yaz-my-client.cpp @@ -1,10 +1,11 @@ /* - * Copyright (c) 1998-2003, Index Data. + * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-my-client.cpp,v 1.14 2003-10-16 10:26:58 adam Exp $ + * $Id: yaz-my-client.cpp,v 1.18 2005-01-17 09:55:58 adam Exp $ */ +#include #include #include #include @@ -454,7 +455,7 @@ int MyClient::cmd_connect(char *host) client (host); timeout (10); wait (); - timeout (0); + timeout (-1); return 1; } @@ -463,7 +464,7 @@ int MyClient::cmd_open(char *host) client (host); timeout (10); wait (); - timeout (0); + timeout (-1); send_initRequest(); wait (); return 1; @@ -676,7 +677,7 @@ int MyClient::args(Yaz_SocketManager *socketManager, int argc, char **argv) client (host); timeout (10); wait (); - timeout (0); + timeout (-1); send_initRequest(); wait (); }