This commit is contained in:
Stephane Bortzmeyer 2007-03-04 21:54:53 +00:00
parent 46fc19fdd2
commit 89af6a8780
2 changed files with 10 additions and 2 deletions

View File

@ -10,6 +10,7 @@
typical example is that "old-school" Unix aggreation of arguments
("echoping -v4 localhost") is no longer accepted (use "echoping -v
-4 localhost").
* Many bug fixes, see the list at Sourceforge
5.2.0 (2004-02-29)

View File

@ -750,7 +750,14 @@ main(argc, argv)
alarm(timeout);
if (i > 1) {
#ifdef HAVE_USLEEP
usleep(wait * 1000000);
/* SUSv3 states that the argument to usleep() shall
be less * than 1000000, so split into two calls
if necessary. Bug #1473872, fix by Jeff Rizzo
- riz@sourceforge */
if (wait >= 1) {
sleep((unsigned int) wait);
}
usleep((wait - (unsigned int) wait) * 1000000);
#else
sleep(wait);
#endif
@ -1327,7 +1334,7 @@ main(argc, argv)
gnutls_deinit(session);
/*
* gnutls_certificate_free_credentials(xcred);
*
*
*/
}
#endif