[or-cvs] backport the change where we make mapaddress"s args more fl...

arma at seul.org arma at seul.org
Thu May 25 21:23:41 UTC 2006


Update of /home/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/tor-011x/tor/src/common

Modified Files:
      Tag: tor-0_1_1-patches
	util.c 
Log Message:
backport the change where we make mapaddress's args more flexible.


Index: util.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.254.2.1
retrieving revision 1.254.2.2
diff -u -p -d -r1.254.2.1 -r1.254.2.2
--- util.c	10 May 2006 10:27:09 -0000	1.254.2.1
+++ util.c	25 May 2006 21:23:39 -0000	1.254.2.2
@@ -1727,10 +1727,12 @@ is_plausible_address(const char *name)
   /* We could check better here. */
   if (!*name)
     return 0;
+#if 0
   for (cp=name; *cp; cp++) {
     if (*cp != '.' && *cp != '-' && !TOR_ISALNUM(*cp))
       return 0;
   }
+#endif
 
   return 1;
 }



More information about the tor-commits mailing list