1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-01 11:09:07 +00:00

spellcheck patch

This commit is contained in:
fyodor
2006-09-05 08:39:32 +00:00
parent c5e658cb51
commit 10ffae41cf
13 changed files with 13 additions and 22 deletions

View File

@@ -959,13 +959,7 @@ static FingerPrint *get_fingerprint(Target *target, struct seq_info *si) {
/* printf("The sequence sum is %e\n", seq_inc_sum);*/
seq_inc_sum /= (si->responses - 1);
/* Some versions of Linux libc seem to have broken pow ... so we
avoid it */
#ifdef LINUX
si->index = (unsigned int) (0.5 + sqrt(seq_inc_sum));
#else
si->index = (unsigned int) (0.5 + pow(seq_inc_sum, 0.5));
#endif
/* printf("The sequence index is %d\n", si->index);*/
if (si->index < 75) {