Better handling of the missing results

MAINT_6_0
Stephane Bortzmeyer 17 years ago
parent 4a802c0e84
commit 91959176f3

@ -699,7 +699,7 @@ main(argc, argv)
if (smtp) {
sendline = "QUIT\r\n"; /* Surprises some SMTP servers which log a
* frightening NOQUEUE. Anyone knows better?
* * * * * * See bug #1512776 */
* See bug #1512776 */
} else
#endif
#ifdef ICP
@ -1374,7 +1374,9 @@ main(argc, argv)
(void) gettimeofday(&newtv, (struct timezone *) NULL);
temp = newtv;
tvsub(&temp, &oldtv);
if (!timeout_flag) {
if (!timeout_flag && (!plugin || plugin_result == 0)) { /* If it
* worked...
*/
tvadd(&total, &temp);
/* Check */
@ -1431,8 +1433,7 @@ main(argc, argv)
results[i - 1].timevalue = measured;
else
results[i - 1].timevalue = newtv;
if (!plugin || (plugin_result == 0))
successes++;
successes++;
}
if (number > 1) {
#ifdef OPENSSL

Loading…
Cancel
Save