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

[or-cvs] Yes, I did mean "else if".



Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv5899/src/common

Modified Files:
	util.c 
Log Message:
Yes, I did mean "else if".

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -d -r1.109 -r1.110
--- util.c	6 Jul 2004 23:25:20 -0000	1.109
+++ util.c	6 Jul 2004 23:29:34 -0000	1.110
@@ -1712,7 +1712,7 @@
   if (!*name) {
     /* Empty address is an error. */
     return -1;
-  } if (tor_inet_aton(name, &iaddr)) {
+  } else if (tor_inet_aton(name, &iaddr)) {
     /* It's an IP. */
     memcpy(addr, &iaddr.s_addr, 4);
     return 0;