From e8f696571e45bb2c0f83970590e71622947c9a0c Mon Sep 17 00:00:00 2001 From: jah Date: Tue, 12 May 2009 23:36:40 +0000 Subject: [PATCH] Improved a couple of indents which I messed-up in the last commit. --- TargetGroup.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TargetGroup.cc b/TargetGroup.cc index 9dd1def51..73868fae7 100644 --- a/TargetGroup.cc +++ b/TargetGroup.cc @@ -378,7 +378,7 @@ int TargetGroup::get_next_host(struct sockaddr_storage *ss, size_t *sslen) { struct sockaddr_in *sin = (struct sockaddr_in *) ss; struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) ss; startover: /* to handle nmap --resume where I have already - scanned many of the IPs */ + * scanned many of the IPs */ assert(ss); assert(sslen); @@ -414,9 +414,9 @@ int TargetGroup::get_next_host(struct sockaddr_storage *ss, size_t *sslen) { } /* Set the IP to the current value of everything */ sin->sin_addr.s_addr = htonl(addresses[0][current[0]] << 24 | - addresses[1][current[1]] << 16 | - addresses[2][current[2]] << 8 | - addresses[3][current[3]]); + addresses[1][current[1]] << 16 | + addresses[2][current[2]] << 8 | + addresses[3][current[3]]); /* Now we nudge up to the next IP */ for(octet = 3; octet >= 0; octet--) { @@ -505,7 +505,7 @@ int TargetGroup::return_last_host() { this class instance is used -- the array is NOT copied. */ HostGroupState::HostGroupState(int lookahead, int rnd, - char *expr[], int numexpr) { + char *expr[], int numexpr) { assert(lookahead > 0); hostbatch = (Target **) safe_zalloc(sizeof(Target *) * lookahead); max_batch_sz = lookahead;