summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-18 21:54:50 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-18 21:54:50 +0000
commitaa68eb8540a7cc0883c4906a52af1bc36ee74be8 (patch)
tree11502c7fb3219db2bb8ae00076ad28f2b524a843
parent1db154464e03e9561cb8fdb7b25d7f2c5ed8de84 (diff)
downloadtinyproxy-aa68eb8540a7cc0883c4906a52af1bc36ee74be8.tar.gz
tinyproxy-aa68eb8540a7cc0883c4906a52af1bc36ee74be8.zip
Whoops. The previous include only had the code conditionally removed.
Remove for real this time.
-rw-r--r--src/sock.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/sock.c b/src/sock.c
index 53bbbb5..ab65528 100644
--- a/src/sock.c
+++ b/src/sock.c
@@ -1,4 +1,4 @@
-/* $Id: sock.c,v 1.30 2002-04-18 21:53:33 rjkaes Exp $
+/* $Id: sock.c,v 1.31 2002-04-18 21:54:50 rjkaes Exp $
*
* Sockets are created and destroyed here. When a new connection comes in from
* a client, we need to copy the socket and the create a second socket to the
@@ -50,14 +50,6 @@ lookup_domain(struct in_addr *addr, const char *domain)
if (!addr || !domain)
return -1;
-#if 0
- /*
- * First check to see if the domain is in dotted-decimal format.
- */
- if (inet_aton(domain, (struct in_addr *)addr) != 0)
- return 0;
-#endif
-
/*
* Okay, it's an alpha-numeric domain, so look it up.
*/