[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] remove obsolete kludge



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
remove obsolete kludge


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -d -r1.409 -r1.410
--- config.c	8 Sep 2005 18:15:57 -0000	1.409
+++ config.c	8 Sep 2005 21:36:27 -0000	1.410
@@ -1195,13 +1195,6 @@
 
   tor_assert(addr_out);
 
-  /* workaround: some people were leaving "Address  " in their torrc,
-   * and they had a buggy resolver that resolved " " to 0.0.0.0. Oops.
-   */
-  if (address)
-    while (TOR_ISSPACE(*address))
-      address++;
-
   if (address && *address) {
     strlcpy(hostname, address, sizeof(hostname));
   } else { /* then we need to guess our address */