aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-18 07:57:47 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-18 07:57:47 +0000
commitc58cc8c16c14ab789cb8afd9e292986c242daf1b (patch)
tree38ff1ec49731d3bee4b6d504026d201de2bab78f /src/or
parentb1a8b7869ac35c44ad87890198946525f04adf03 (diff)
downloadtor-c58cc8c16c14ab789cb8afd9e292986c242daf1b.tar
tor-c58cc8c16c14ab789cb8afd9e292986c242daf1b.tar.gz
add coverage for a default case
svn:r6643
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirserv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 959161349..e80c8300b 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1847,6 +1847,8 @@ connection_dirserv_flushed_some(connection_t *conn)
return connection_dirserv_add_servers_to_outbuf(conn);
case DIR_REFRESH_CACHED_DIR:
return connection_dirserv_add_dir_bytes_to_outbuf(conn);
+ default:
+ return 0;
}
}