summaryrefslogtreecommitdiff
path: root/net/aslookup/files/patch-aslookup.c
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-10 01:09:21 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-10 01:09:21 +0000
commitf64d11f210e661f337e28315a272506857e8a7b9 (patch)
tree76f4b9af7deaf17a98b269a6fd8d08ea96a1e3db /net/aslookup/files/patch-aslookup.c
parentFix mis-merge from latest round of changes. Fixes 'make describe' in misc/. (diff)
Spelling corrections to program
Bump PORTREVISION Add SHA256 Use DOCSDIR macro Respect CFLAGS and CC PR: 88614 Submitted by: Ted Mittelstaedt <tedm@toybox.placo.com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=147770
Diffstat (limited to 'net/aslookup/files/patch-aslookup.c')
-rw-r--r--net/aslookup/files/patch-aslookup.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/net/aslookup/files/patch-aslookup.c b/net/aslookup/files/patch-aslookup.c
new file mode 100644
index 000000000000..b594d27a4ec8
--- /dev/null
+++ b/net/aslookup/files/patch-aslookup.c
@@ -0,0 +1,56 @@
+--- ./aslookup.c.orig Wed Apr 5 05:35:56 2000
++++ ./aslookup.c Wed Nov 9 22:53:13 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));