summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-22 07:25:15 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-22 07:25:15 +0000
commit52b8dfa95a540b28685cf39d4d2487e1e128b4e6 (patch)
tree0d53fef487f1df0515c69a75b69d42e325b87db4 /src/or/dirserv.c
parent89a1453776658a18b8b887851aef22db427a2be9 (diff)
downloadtor-52b8dfa95a540b28685cf39d4d2487e1e128b4e6.tar.gz
tor-52b8dfa95a540b28685cf39d4d2487e1e128b4e6.zip
Fix a bunch of spaces.
svn:r6678
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 7af40e9cb6..b311bc6c16 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1890,17 +1890,17 @@ connection_dirserv_add_networkstatus_bytes_to_outbuf(connection_t *conn)
int uncompressing = (conn->zlib_state != NULL);
int r = connection_dirserv_add_dir_bytes_to_outbuf(conn);
if (conn->dir_spool_src == DIR_SPOOL_NONE) {
- /* add_dir_bytes thinks we're done with the cached_dir. But we
- * may have more cached_dirs! */
- conn->dir_spool_src = DIR_SPOOL_NETWORKSTATUS;
- /* This bit is tricky. If we were uncompressing the last
- * networkstatus, we may need to make a new zlib object to
- * uncompress the next one. */
- if (uncompressing && ! conn->zlib_state &&
- conn->fingerprint_stack &&
- smartlist_len(conn->fingerprint_stack)) {
- conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD);
- }
+ /* add_dir_bytes thinks we're done with the cached_dir. But we
+ * may have more cached_dirs! */
+ conn->dir_spool_src = DIR_SPOOL_NETWORKSTATUS;
+ /* This bit is tricky. If we were uncompressing the last
+ * networkstatus, we may need to make a new zlib object to
+ * uncompress the next one. */
+ if (uncompressing && ! conn->zlib_state &&
+ conn->fingerprint_stack &&
+ smartlist_len(conn->fingerprint_stack)) {
+ conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD);
+ }
}
if (r) return r;
} else if (conn->fingerprint_stack &&