* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.253 2004-10-12 13:23:46 ja7 Exp $
+ * $Id: client.c,v 1.255 2004-11-02 11:37:21 heikki Exp $
*/
#include <stdio.h>
#include <yaz/srw.h>
#include <yaz/yaz-ccl.h>
#include <yaz/cql.h>
+#include <yaz/log.h>
#if HAVE_READLINE_READLINE_H
#include <readline/readline.h>
{
int sec=atoi(args);
if( sec > 0 ) {
+#ifdef WIN32
+ Sleep(sec*1000);
+#else
sleep(sec);
- printf("Done sleeping %d secunds\n", sec);
+#endif
+ printf("Done sleeping %d seconds\n", sec);
}
return 1;
}