aboutsummaryrefslogtreecommitdiff
path: root/src/test/log_test_helpers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-02 13:13:58 +0200
committerNick Mathewson <nickm@torproject.org>2015-10-02 13:13:58 +0200
commitac8c5ec67a8b2f36f1c76777c640fc4299f42307 (patch)
tree42bf82b9a3deb804366a29cdc1b0086ce313722d /src/test/log_test_helpers.c
parentc01f9d9ffe03d5c46833df477fcf2a4bd36dd389 (diff)
downloadtor-ac8c5ec67a8b2f36f1c76777c640fc4299f42307.tar.gz
tor-ac8c5ec67a8b2f36f1c76777c640fc4299f42307.zip
Clean up compat_libevent tests
Diffstat (limited to 'src/test/log_test_helpers.c')
-rw-r--r--src/test/log_test_helpers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/log_test_helpers.c b/src/test/log_test_helpers.c
index 925f0f1de4..51b5f9b7b1 100644
--- a/src/test/log_test_helpers.c
+++ b/src/test/log_test_helpers.c
@@ -1,3 +1,5 @@
+/* Copyright (c) 2015, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
#define LOG_PRIVATE
#include "torlog.h"
#include "log_test_helpers.h"
@@ -37,7 +39,7 @@ static mock_saved_log_entry_t *
mock_get_log_entry(int ix)
{
int saved_log_count = mock_saved_log_number();
- if(ix < 0) {
+ if (ix < 0) {
ix = saved_log_count + ix;
}
@@ -106,3 +108,4 @@ mock_saving_logv(int severity, log_domain_mask_t domain,
saved_logs = smartlist_new();
smartlist_add(saved_logs, e);
}
+