summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-10 10:10:35 -0400
committerNick Mathewson <nickm@torproject.org>2015-03-10 10:10:35 -0400
commit985687bc4f99b90ed88ccdbefc820260c299ff23 (patch)
tree506cbd343c32f7d94443e5dc25b53bd12b8f8cdc
parent99b59dee7046b04854ac263a1cf810dceb80df12 (diff)
downloadtor-985687bc4f99b90ed88ccdbefc820260c299ff23.tar.gz
tor-985687bc4f99b90ed88ccdbefc820260c299ff23.zip
Fix check-spaces
-rw-r--r--src/common/container.h1
-rw-r--r--src/test/test_status.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/src/common/container.h b/src/common/container.h
index d07697f019..457b5e4ea0 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -256,7 +256,6 @@ char *smartlist_join_strings2(smartlist_t *sl, const char *join,
--var ## _sl_len; \
STMT_END
-
/** Helper: While in a SMARTLIST_FOREACH loop over the list <b>sl</b> indexed
* with the variable <b>var</b>, replace the current element with <b>val</b>.
* Does not deallocate the current value of <b>var</b>.
diff --git a/src/test/test_status.c b/src/test/test_status.c
index 0aa82ca087..cb3b4f64c7 100644
--- a/src/test/test_status.c
+++ b/src/test/test_status.c
@@ -878,7 +878,8 @@ NS(logv)(int severity, log_domain_mask_t domain, const char *funcname,
tt_ptr_op(strstr(funcname, "log_heartbeat"), OP_NE, NULL);
tt_ptr_op(suffix, OP_EQ, NULL);
tt_str_op(format, OP_EQ,
- "Average packaged cell fullness: %2.3f%%. TLS write overhead: %.f%%");
+ "Average packaged cell fullness: %2.3f%%. "
+ "TLS write overhead: %.f%%");
tt_double_op(fabs(va_arg(ap, double) - 50.0), <=, DBL_EPSILON);
tt_double_op(fabs(va_arg(ap, double) - 0.0), <=, DBL_EPSILON);
break;
@@ -1026,7 +1027,8 @@ NS(logv)(int severity, log_domain_mask_t domain,
tt_ptr_op(strstr(funcname, "log_heartbeat"), OP_NE, NULL);
tt_ptr_op(suffix, OP_EQ, NULL);
tt_str_op(format, OP_EQ,
- "Average packaged cell fullness: %2.3f%%. TLS write overhead: %.f%%");
+ "Average packaged cell fullness: %2.3f%%. "
+ "TLS write overhead: %.f%%");
tt_int_op(fabs(va_arg(ap, double) - 100.0) <= DBL_EPSILON, OP_EQ, 1);
tt_double_op(fabs(va_arg(ap, double) - 100.0), <=, DBL_EPSILON);
break;