1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 14:39:02 +00:00

About to do Nmap 4.03

This commit is contained in:
fyodor
2006-04-22 23:00:09 +00:00
parent 873cbbe54c
commit 0b33f41633
32 changed files with 297 additions and 24 deletions

View File

@@ -100,6 +100,10 @@
/* $Id$ */
#ifdef WIN32
#include "nmap_winconfig.h"
#endif
#include <dnet.h>
#include "scan_engine.h"
@@ -1232,7 +1236,8 @@ void UltraScanInfo::Init(vector<Target *> &Targets, struct scan_lists *pts, styp
again if they are). when will be now, if the function returns
true */
bool UltraScanInfo::sendOK(struct timeval *when) {
struct timeval lowhtime, tmptv;
struct timeval lowhtime = {0};
struct timeval tmptv;
list<HostScanStats *>::iterator host;
bool ggood = false;
bool hgood = false;
@@ -3227,7 +3232,7 @@ static void processData(UltraScanInfo *USI) {
int expire_us = 0;
bool tryno_capped = false, tryno_mayincrease = false;
struct timeval tv_start;
struct timeval tv_start = {0};
if (o.debugging) {
gettimeofday(&USI->now, NULL);
tv_start = USI->now;