ports/88614: Spelling corrections to program

Ted Mittelstaedt tedm at toybox.placo.com
Mon Nov 7 18:50:14 UTC 2005


>Number:         88614
>Category:       ports
>Synopsis:       Spelling corrections to program
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 07 18:50:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ted Mittelstaedt
>Release:        FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:
System: FreeBSD whois.ipinc.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Nov 2 18:23:20 PST 2005 tedm at whois.ipinc.net:/usr/src/sys/compile/WHOIS i386


	
>Description:
         Correction of spelling errors in code 
	
>How-To-Repeat:
	
>Fix:

diff -ruN aslookup.c.bak aslookup.c 


--- aslookup.c.bak	Wed Apr  5 01:35:56 2000
+++ aslookup.c	Mon Nov  7 10:40:19 2005
@@ -249,7 +249,7 @@
 			break;
 		case 'C':
 #ifdef DEBUG
-			printf("Compleate\n");
+			printf("Complete\n");
 #endif
 			stop = 1;
 			break;
@@ -936,7 +936,7 @@
 
 		if (strncmp(&line[3], "       ", 7) == 0) {
 #ifdef DEBUG
-			printf("Old Data Concatinate\n");
+			printf("Old Data Concatenate\n");
 #endif
 			bzero(buf,40);
 			strncpy(buf, pathcache.data, 3);
@@ -952,7 +952,7 @@
 			printf("%s:\n",pathcache.data);
 			searchas(pathcache.pathstr);
 		} else {
-			printf("%s: Dplicated AS Path\n",pathcache.data);
+			printf("%s: Duplicated AS Path\n",pathcache.data);
 		}
 	}
 	freecache();
@@ -987,7 +987,7 @@
 
                 if (strncmp(&line[3], "       ", 7) == 0) {
 #ifdef DEBUG
-                        printf("Old Data Concatinate: %s\n",olddata);
+                        printf("Old Data Concatenate: %s\n",olddata);
 #endif
                         if (strlen(olddata) > 0) {
                                 bzero(buf,40);
@@ -1007,7 +1007,7 @@
                         printf("%s:\n",pathcache.data);
                         searchas(pathcache.pathstr);
                 } else {
-                        printf("%s: Dplicated AS Path\n",pathcache.data);
+                        printf("%s: Duplicated AS Path\n",pathcache.data);
                 }
 	}
 	fclose(fp);
@@ -1034,7 +1034,7 @@
 	if (a == 0) {
 		hp = gethostbyname(hn);
 		if (hp == NULL) {
-			printf("Could not resolv : %s\n",hn);
+			printf("Could not resolve : %s\n",hn);
 			return(1);
 		}
 		bzero(&sin, sizeof(struct sockaddr_in));

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list