summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-09 02:35:51 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-09 02:35:51 +0000
commitc6f2d725d005f912830b523aa1d1a419f4e22ecd (patch)
tree1368757b759b80251b8a1afd343f3a5ecab0a36d /src/or/directory.c
parentc34125503493b2a71728c1cc5e913744f797704e (diff)
downloadtor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.tar.gz
tor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.zip
r8957@totoro: nickm | 2006-10-08 22:35:17 -0400
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index afafd6f317..210d020584 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1008,7 +1008,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
if (conn->_base.purpose == DIR_PURPOSE_FETCH_NETWORKSTATUS) {
smartlist_t *which = NULL;
- int source;
+ networkstatus_source_t source;
char *cp;
log_info(LD_DIR,"Received networkstatus objects (size %d) from server "
"'%s:%d'",(int) body_len, conn->_base.address, conn->_base.port);