[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] 0.0.9 broke hibernation. darn it.
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
router.c
Log Message:
0.0.9 broke hibernation. darn it.
Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- router.c 11 Dec 2004 23:53:59 -0000 1.136
+++ router.c 13 Dec 2004 19:42:46 -0000 1.137
@@ -549,7 +549,7 @@
ri->address = tor_strdup(inet_ntoa(in));
ri->nickname = tor_strdup(options->Nickname);
ri->addr = addr;
- ri->or_port = hibernating ? 0 : options->ORPort;
+ ri->or_port = options->ORPort;
ri->socks_port = hibernating ? 0 : options->SocksPort;
ri->dir_port = hibernating ? 0 : options->DirPort;
ri->published_on = time(NULL);