projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version to 0.9. Abort if YAZ is not found
[yazpp-moved-to-github.git]
/
src
/
yaz-my-client.cpp
diff --git
a/src/yaz-my-client.cpp
b/src/yaz-my-client.cpp
index
cce989d
..
a42f928
100644
(file)
--- a/
src/yaz-my-client.cpp
+++ b/
src/yaz-my-client.cpp
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 1998-2003, Index Data.
+ * Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
* 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.17 2004-12-13 20:50:54 adam Exp $
*/
#include <yaz/log.h>
*/
#include <yaz/log.h>
@@
-454,7
+454,7
@@
int MyClient::cmd_connect(char *host)
client (host);
timeout (10);
wait ();
client (host);
timeout (10);
wait ();
- timeout (0);
+ timeout (-1);
return 1;
}
return 1;
}
@@
-463,7
+463,7
@@
int MyClient::cmd_open(char *host)
client (host);
timeout (10);
wait ();
client (host);
timeout (10);
wait ();
- timeout (0);
+ timeout (-1);
send_initRequest();
wait ();
return 1;
send_initRequest();
wait ();
return 1;
@@
-676,7
+676,7
@@
int MyClient::args(Yaz_SocketManager *socketManager, int argc, char **argv)
client (host);
timeout (10);
wait ();
client (host);
timeout (10);
wait ();
- timeout (0);
+ timeout (-1);
send_initRequest();
wait ();
}
send_initRequest();
wait ();
}