From 85e52bf928f269030b664ef939be1f98eeb4e7be Mon Sep 17 00:00:00 2001 From: d33tah Date: Fri, 28 Jun 2013 15:37:20 +0000 Subject: [PATCH] fix some typos in comments I found while reading Nbase's code --- nbase/nbase_misc.c | 2 +- nbase/nbase_winconfig.h | 2 +- nbase/snprintf.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nbase/nbase_misc.c b/nbase/nbase_misc.c index 345bbc686..6410cf805 100644 --- a/nbase/nbase_misc.c +++ b/nbase/nbase_misc.c @@ -740,7 +740,7 @@ char *format_bytecount(unsigned long long bytes, char *buf, size_t buflen) { /* Compare a canonical option name (e.g. "max-scan-delay") with a user-generated option such as "max_scan_delay" and returns 0 if the - two values are considered equivalant (for example, - and _ are + two values are considered equivalent (for example, - and _ are considered to be the same), nonzero otherwise. */ int optcmp(const char *a, const char *b) { while(*a && *b) { diff --git a/nbase/nbase_winconfig.h b/nbase/nbase_winconfig.h index 39dfa26c3..fb83c3d42 100644 --- a/nbase/nbase_winconfig.h +++ b/nbase/nbase_winconfig.h @@ -97,7 +97,7 @@ #define NBASE_WINCONFIG_H //This disables the warning 4800 http://msdn.microsoft.com/en-us/library/b6801kcy(v=vs.71).aspx #pragma warning(disable : 4800) -/* It doesn't really have strucct IP, but we use a different one instead +/* It doesn't really have struct IP, but we use a different one instead of the one that comes with Nmap */ #define HAVE_STRUCT_IP 1 /* #define HAVE_STRUCT_ICMP 1 */ diff --git a/nbase/snprintf.c b/nbase/snprintf.c index eea6990ab..6884f4890 100644 --- a/nbase/snprintf.c +++ b/nbase/snprintf.c @@ -1,6 +1,6 @@ /* Note -- this file was obtained from tcpdump-2000-9-17 CVS snapshot * * ( www.tcpdump.org). It has been modified slightly for * - * compatability with libnbase. Modification etails may be in the * + * compatability with libnbase. Modification details may be in the * * nbase CHANGELOG - fyodor@nmap.org */