openbsd-ports/net/nmap/patches/patch-nmap_tty_cc
giovanni 7cc1504616 Major update to 6.01
tests & ok benoit@, thanks
2012-07-16 07:39:31 +00:00

13 lines
499 B
Plaintext

$OpenBSD: patch-nmap_tty_cc,v 1.1 2012/07/16 07:39:31 giovanni Exp $
--- nmap_tty.cc.orig Fri May 25 15:11:33 2012
+++ nmap_tty.cc Fri May 25 15:13:22 2012
@@ -290,7 +290,7 @@ bool keyWasPressed()
gettimeofday(&now, NULL);
if (stats_time.tv_sec == 0) {
/* Initialize the scheduled stats time. */
- stats_time = *o.getStartTime();
+ stats_time = (const timeval&)*o.getStartTime();
TIMEVAL_ADD(stats_time, stats_time, (time_t) (o.stats_interval * 1000000));
}