aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-26 20:55:32 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-26 20:55:32 +0000
commit9ba2dd7ea1b1984c935dae3ac866484a4307c4dc (patch)
tree0a88c48b329043584a24d22e231876ac6f3de8d4 /src/or/test.c
parentef2409e4ed367f7fe6f8b95ca874fbaf81f96e4b (diff)
downloadtor-9ba2dd7ea1b1984c935dae3ac866484a4307c4dc.tar
tor-9ba2dd7ea1b1984c935dae3ac866484a4307c4dc.tar.gz
Clean/renormalize whitespace
svn:r4122
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 2a568b54d..42dd1c176 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -156,7 +156,7 @@ test_buffers(void) {
memset(str2, 0, sizeof(str2));
/* Okay, now we should be 512 bytes into the 4096-byte buffer. If we add
* another 3584 bytes, we hit the end. */
- for(j=0;j<15;++j) {
+ for (j=0;j<15;++j) {
write_to_buf(str, 256, buf);
}
assert_buf_ok(buf);
@@ -164,7 +164,7 @@ test_buffers(void) {
fetch_from_buf(str2, 56, buf);
test_eq(buf_datalen(buf), 3840);
test_memeq(str+200, str2, 56);
- for(j=0;j<15;++j) {
+ for (j=0;j<15;++j) {
memset(str2, 0, sizeof(str2));
fetch_from_buf(str2, 256, buf);
test_memeq(str, str2, 256);
@@ -230,7 +230,6 @@ test_buffers(void) {
test_memeq(str2, str, 255);
}
-
/****
* read_to_buf
****/