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

[or-cvs] move a wandering ntohl



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv15777/src/or

Modified Files:
	routerlist.c 
Log Message:
move a wandering ntohl

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -d -r1.251 -r1.252
--- routerlist.c	26 Aug 2005 07:41:19 -0000	1.251
+++ routerlist.c	26 Aug 2005 19:23:52 -0000	1.252
@@ -1470,8 +1470,8 @@
     log_fn(LOG_WARN, "Unable to lookup address for directory server at %s",
            address);
     return;
-    a = ntohl(a);
   }
+  a = ntohl(a);
 
   ent = tor_malloc(sizeof(trusted_dir_server_t));
   if (address) {