]> mop.ddnsfree.com - git repositories - overhosts.git/commitdiff
wrong original functions names typo fixed master v0.0.2
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Mon, 13 Feb 2012 11:28:31 +0000 (12:28 +0100)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Mon, 13 Feb 2012 11:29:21 +0000 (12:29 +0100)
makefile
overhosts.c

index d0ad137f40501f7136356751d9b61bf8475eee62..58cabfd5c3c27429f39f1bc5fdc00ccc671f2ec3 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,7 +2,7 @@
 #  Project overhosts
 #
 
-VER=0.0.1
+VER=0.0.2
 EXE=overhosts.so test
 OBJ=overhosts.o
 PKGNAME=overhosts
index a23a5cff7bbde9d606be89b9ae0381641aa52eb7..2aee594b800d68c7d4ab07902137d4836760100c 100644 (file)
@@ -127,10 +127,10 @@ struct hostent *gethostbyname2(const char *name, int af)
 {
     char *real;
     if (is_an_alias(name) && (real = getenv("OVERHOSTS_REAL")) != NULL) {
-        return (gethostbyname2(real, af));
+        return (ohreal_gethostbyname2(real, af));
     }
     else {
-        return (gethostbyname2(name, af));
+        return (ohreal_gethostbyname2(name, af));
     }
 }
 
@@ -141,10 +141,10 @@ struct hostent *gethostbyname(const char *name)
 {
     char *real;
     if (is_an_alias(name) && (real = getenv("OVERHOSTS_REAL")) != NULL) {
-        return (gethostbyname(real));
+        return (ohreal_gethostbyname(real));
     }
     else {
-        return (gethostbyname(name));
+        return (ohreal_gethostbyname(name));
     }
 }