aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-06 00:54:22 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-06 00:54:22 +0000
commit614dc52623e07d833f1ccd7bf68d835227209f07 (patch)
tree03c2b88907c3a39d4c46125e6a0c6ee04c4a756f /src
parent0c2234378b85aadf4a263a17209129ab21a5cf5e (diff)
downloadtor-614dc52623e07d833f1ccd7bf68d835227209f07.tar.gz
tor-614dc52623e07d833f1ccd7bf68d835227209f07.zip
r17467@catbus: nickm | 2008-01-05 19:54:20 -0500
fix whitespace svn:r13035
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c2
-rw-r--r--src/or/buffers.c9
-rw-r--r--src/or/dirserv.c1
3 files changed, 6 insertions, 6 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 23e1bc639b..aaf057cd1c 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2087,7 +2087,7 @@ parse_config_line_from_str(const char *line, char **key_out, char **value_out)
++line;
} while (*line && *line != '\n');
}
- while(TOR_ISSPACE(*line)) ++line;
+ while (TOR_ISSPACE(*line)) ++line;
return line;
}
diff --git a/src/or/buffers.c b/src/or/buffers.c
index c99a550421..8d8059e1fd 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -493,9 +493,9 @@ buf_free(buf_t *buf)
tor_free(buf);
}
-/** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to the
- * tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger than
- * MAX_CHUNK_ALLOC. */
+/** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to
+ * the tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger
+ * than MAX_CHUNK_ALLOC. */
static chunk_t *
buf_add_chunk_with_capacity(buf_t *buf, size_t capacity, int capped)
{
@@ -765,7 +765,8 @@ flush_buf(int s, buf_t *buf, size_t sz, size_t *buf_flushlen)
* DOCDOC can write more than flushlen bytes.
*/
int
-flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen, size_t *buf_flushlen)
+flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen,
+ size_t *buf_flushlen)
{
int r;
size_t flushed = 0;
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 97243ef6e3..0bc852357c 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2757,7 +2757,6 @@ dirserv_test_reachability(time_t now, int try_all)
ctr = (ctr + 1) % 128;
}
-
/** Given a fingerprint <b>fp</b> which is either set if we're looking
* for a v2 status, or zeroes if we're looking for a v3 status, return
* a pointer to the appropriate cached dir object, or NULL if there isn't