diff options
-rwxr-xr-x | contrib/checkSpace.pl | 3 | ||||
-rw-r--r-- | src/common/aes.c | 1 | ||||
-rw-r--r-- | src/common/aes.h | 1 | ||||
-rw-r--r-- | src/common/container.c | 1 | ||||
-rw-r--r-- | src/common/crypto.h | 1 | ||||
-rw-r--r-- | src/common/log.h | 1 | ||||
-rw-r--r-- | src/common/test.h | 1 | ||||
-rw-r--r-- | src/common/torint.h | 1 | ||||
-rw-r--r-- | src/common/tortls.c | 1 | ||||
-rw-r--r-- | src/common/tortls.h | 1 | ||||
-rw-r--r-- | src/or/circuitbuild.c | 1 | ||||
-rw-r--r-- | src/or/circuitlist.c | 1 | ||||
-rw-r--r-- | src/or/command.c | 1 | ||||
-rw-r--r-- | src/or/connection_edge.c | 1 | ||||
-rw-r--r-- | src/or/connection_or.c | 1 | ||||
-rw-r--r-- | src/or/cpuworker.c | 1 | ||||
-rw-r--r-- | src/or/directory.c | 1 | ||||
-rw-r--r-- | src/or/dns.c | 1 | ||||
-rw-r--r-- | src/or/hibernate.c | 1 | ||||
-rw-r--r-- | src/or/main.c | 1 | ||||
-rw-r--r-- | src/or/relay.c | 1 | ||||
-rw-r--r-- | src/or/rendclient.c | 1 | ||||
-rw-r--r-- | src/or/rendcommon.c | 1 | ||||
-rw-r--r-- | src/or/rendmid.c | 1 | ||||
-rw-r--r-- | src/or/rendservice.c | 1 | ||||
-rw-r--r-- | src/or/routerlist.c | 1 | ||||
-rw-r--r-- | src/or/tor_main.c | 1 |
27 files changed, 3 insertions, 26 deletions
diff --git a/contrib/checkSpace.pl b/contrib/checkSpace.pl index 8724250bc..8b6fb828b 100755 --- a/contrib/checkSpace.pl +++ b/contrib/checkSpace.pl @@ -75,5 +75,8 @@ for $fn (@ARGV) { } } } + if ($lastnil) { + print " EOL\@EOF:$fn:$.\n"; + } close(F); } diff --git a/src/common/aes.c b/src/common/aes.c index 1f7195cbc..455563c8c 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -812,4 +812,3 @@ void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 c rk[3]; PUTU32(ct + 12, s3); } - diff --git a/src/common/aes.h b/src/common/aes.h index 44e8b0091..693880a7c 100644 --- a/src/common/aes.h +++ b/src/common/aes.h @@ -28,4 +28,3 @@ void aes_set_counter(aes_cnt_cipher_t *cipher, uint64_t counter); void aes_adjust_counter(aes_cnt_cipher_t *cipher, long delta); #endif - diff --git a/src/common/container.c b/src/common/container.c index f892cd677..408b49f3d 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -649,4 +649,3 @@ int strmap_isempty(strmap_t *map) { return SPLAY_EMPTY(&map->head); } - diff --git a/src/common/crypto.h b/src/common/crypto.h index 06245668c..8fe50f969 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -160,4 +160,3 @@ void secret_to_key(char *key_out, size_t key_out_len, const char *secret, size_t secret_len, const char *s2k_specifier); #endif - diff --git a/src/common/log.h b/src/common/log.h index bfcb557e6..d64559ce8 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -99,4 +99,3 @@ void _log_fn(int severity, const char *format, ...); # define __LOG_H #endif - diff --git a/src/common/test.h b/src/common/test.h index ec613b2c4..957437cdf 100644 --- a/src/common/test.h +++ b/src/common/test.h @@ -136,4 +136,3 @@ extern int have_failed; } STMT_END #endif - diff --git a/src/common/torint.h b/src/common/torint.h index 96464a29a..cb6fff1a5 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -250,4 +250,3 @@ typedef uint32_t uintptr_t; #define SIZE_T_CEILING (sizeof(char)<<(sizeof(size_t)*8 - 1)) #endif /* __TORINT_H */ - diff --git a/src/common/tortls.c b/src/common/tortls.c index 900965b1e..e6e13a089 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -859,4 +859,3 @@ void _check_no_tls_errors(const char *fname, int line) fname, line); tls_log_errors(LOG_WARN, NULL); } - diff --git a/src/common/tortls.h b/src/common/tortls.h index 4d8aba264..1703b95b6 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -51,4 +51,3 @@ unsigned long tor_tls_get_n_bytes_written(tor_tls *tls); void _check_no_tls_errors(const char *fname, int line); #endif - diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index d11ebd312..c41fb0f0c 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1475,4 +1475,3 @@ onion_append_hop(crypt_path_t **head_ptr, routerinfo_t *choice) { return 0; } - diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index cc1c0e517..18268fccc 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -707,4 +707,3 @@ void assert_circuit_ok(const circuit_t *c) tor_assert(!c->rend_splice); } } - diff --git a/src/or/command.c b/src/or/command.c index 62b27d661..eef5fc42c 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -335,4 +335,3 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { } } } - diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index c4a01f139..68c73bdff 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1720,4 +1720,3 @@ failed: *s = '.'; return BAD_HOSTNAME; } - diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 3d667f601..b25a7805d 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -635,4 +635,3 @@ loop: goto loop; /* process the remainder of the buffer */ } - diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 2da8b9974..940514139 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -430,4 +430,3 @@ int assign_to_cpuworker(connection_t *cpuworker, uint8_t question_type, } return 0; } - diff --git a/src/or/directory.c b/src/or/directory.c index 32ed70ab0..f76f1f44a 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1190,4 +1190,3 @@ int connection_dir_finished_connecting(connection_t *conn) conn->state = DIR_CONN_STATE_CLIENT_SENDING; /* start flushing conn */ return 0; } - diff --git a/src/or/dns.c b/src/or/dns.c index d2bb01763..643405a0c 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -877,4 +877,3 @@ static void spawn_enough_dnsworkers(void) { num_dnsworkers--; } } - diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 1df81fdfd..37418717f 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -832,4 +832,3 @@ void consider_hibernation(time_t now) { } } } - diff --git a/src/or/main.c b/src/or/main.c index c967a6938..775913a7c 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1624,4 +1624,3 @@ int tor_main(int argc, char *argv[]) { tor_cleanup(); return -1; } - diff --git a/src/or/relay.c b/src/or/relay.c index 8732c658c..701b47bb6 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1211,4 +1211,3 @@ circuit_consider_sending_sendme(circuit_t *circ, crypt_path_t *layer_hint) } } } - diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 8f23ddfcb..d5f2f0297 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -447,4 +447,3 @@ char *rend_client_get_random_intro(char *query) { smartlist_free(sl); return nickname; } - diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 302066331..50ad154d0 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -358,4 +358,3 @@ void rend_process_relay_cell(circuit_t *circ, int command, size_t length, tor_assert(0); } } - diff --git a/src/or/rendmid.c b/src/or/rendmid.c index fe6935a8f..d56c9b1aa 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -289,4 +289,3 @@ rend_mid_rendezvous(circuit_t *circ, const char *request, size_t request_len) circuit_mark_for_close(circ); return -1; } - diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 9432440eb..07728b3e5 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1028,4 +1028,3 @@ rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ) conn->port,serviceid); return -1; } - diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 44aa8123b..9b05d86f3 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1459,4 +1459,3 @@ void clear_trusted_dir_servers(void) trusted_dir_servers = smartlist_create(); } } - diff --git a/src/or/tor_main.c b/src/or/tor_main.c index 26c260c92..97de6fbdd 100644 --- a/src/or/tor_main.c +++ b/src/or/tor_main.c @@ -18,4 +18,3 @@ int main(int argc, char *argv[]) { return tor_main(argc, argv); } - |