mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
move a wandering ntohl
svn:r4847
This commit is contained in:
+1
-1
@@ -1470,8 +1470,8 @@ add_trusted_dir_server(const char *address, uint16_t port, const char *digest)
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user