projects
/
overhosts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrong original functions names typo fixed
[overhosts.git]
/
overhosts.c
diff --git
a/overhosts.c
b/overhosts.c
index
a23a5cf
..
2aee594
100644
(file)
--- a/
overhosts.c
+++ b/
overhosts.c
@@
-127,10
+127,10
@@
struct hostent *gethostbyname2(const char *name, int af)
{
char *real;
if (is_an_alias(name) && (real = getenv("OVERHOSTS_REAL")) != NULL) {
{
char *real;
if (is_an_alias(name) && (real = getenv("OVERHOSTS_REAL")) != NULL) {
- return (gethostbyname2(real, af));
+ return (
ohreal_
gethostbyname2(real, af));
}
else {
}
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) {
{
char *real;
if (is_an_alias(name) && (real = getenv("OVERHOSTS_REAL")) != NULL) {
- return (gethostbyname(real));
+ return (
ohreal_
gethostbyname(real));
}
else {
}
else {
- return (gethostbyname(name));
+ return (
ohreal_
gethostbyname(name));
}
}
}
}