aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-09 19:03:31 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-09 19:03:31 +0000
commit08318237636f16badf8fb81e0936766c7129515f (patch)
tree9185217320870f62c19a9be2ebd81cc337100710 /src/or
parented426e6ac540d78b355acbddb255daf56e32f381 (diff)
downloadtor-08318237636f16badf8fb81e0936766c7129515f.tar.gz
tor-08318237636f16badf8fb81e0936766c7129515f.zip
Change end-of-file NLNL convention. It turns out arma I and I agree.
svn:r4382
Diffstat (limited to 'src/or')
-rw-r--r--src/or/buffers.c1
-rw-r--r--src/or/circuitbuild.c1
-rw-r--r--src/or/circuitlist.c1
-rw-r--r--src/or/circuituse.c1
-rw-r--r--src/or/command.c1
-rw-r--r--src/or/config.c1
-rw-r--r--src/or/connection.c1
-rw-r--r--src/or/connection_edge.c1
-rw-r--r--src/or/connection_or.c1
-rw-r--r--src/or/control.c1
-rw-r--r--src/or/cpuworker.c1
-rw-r--r--src/or/directory.c1
-rw-r--r--src/or/dirserv.c1
-rw-r--r--src/or/dns.c1
-rw-r--r--src/or/hibernate.c1
-rw-r--r--src/or/main.c1
-rw-r--r--src/or/onion.c1
-rw-r--r--src/or/or.h1
-rw-r--r--src/or/relay.c1
-rw-r--r--src/or/rendclient.c1
-rw-r--r--src/or/rendcommon.c1
-rw-r--r--src/or/rendmid.c1
-rw-r--r--src/or/rendservice.c1
-rw-r--r--src/or/rephist.c1
-rw-r--r--src/or/router.c1
-rw-r--r--src/or/routerlist.c1
-rw-r--r--src/or/routerparse.c1
-rw-r--r--src/or/test.c1
-rw-r--r--src/or/tor_main.c1
-rw-r--r--src/or/tree.h1
30 files changed, 30 insertions, 0 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 310fd57724..f0943c2fa0 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1093,3 +1093,4 @@ void assert_buf_ok(buf_t *buf)
}
#endif
}
+
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index c41fb0f0c9..d11ebd3123 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1475,3 +1475,4 @@ 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 18268fcccd..cc1c0e517c 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -707,3 +707,4 @@ void assert_circuit_ok(const circuit_t *c)
tor_assert(!c->rend_splice);
}
}
+
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 4743afbce2..defd0a25db 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1140,3 +1140,4 @@ int connection_ap_handshake_attach_circuit(connection_t *conn) {
return 0;
}
}
+
diff --git a/src/or/command.c b/src/or/command.c
index eef5fc42cb..62b27d6616 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -335,3 +335,4 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) {
}
}
}
+
diff --git a/src/or/config.c b/src/or/config.c
index 66aa624e6e..d963a5c0de 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2785,3 +2785,4 @@ print_cvs_version(void)
puts(routerlist_c_id);
puts(routerparse_c_id);
}
+
diff --git a/src/or/connection.c b/src/or/connection.c
index a87f27f8a8..40979f2ce2 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1817,3 +1817,4 @@ void assert_connection_ok(connection_t *conn, time_t now)
tor_assert(0);
}
}
+
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 68c73bdff9..c4a01f1392 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1720,3 +1720,4 @@ failed:
*s = '.';
return BAD_HOSTNAME;
}
+
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index b25a7805de..3d667f601e 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -635,3 +635,4 @@ loop:
goto loop; /* process the remainder of the buffer */
}
+
diff --git a/src/or/control.c b/src/or/control.c
index 80ad6a33b3..6ea4608c01 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1303,3 +1303,4 @@ init_cookie_authentication(int enabled)
return 0;
}
+
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 9405141392..2da8b99748 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -430,3 +430,4 @@ 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 f76f1f44a4..32ed70ab0d 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1190,3 +1190,4 @@ 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/dirserv.c b/src/or/dirserv.c
index 94d18ae6d1..c8599bf759 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1043,3 +1043,4 @@ dirserv_free_all(void)
memset(&cached_directory, 0, sizeof(cached_directory));
memset(&cached_runningrouters, 0, sizeof(cached_runningrouters));
}
+
diff --git a/src/or/dns.c b/src/or/dns.c
index 643405a0ce..d2bb017631 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -877,3 +877,4 @@ static void spawn_enough_dnsworkers(void) {
num_dnsworkers--;
}
}
+
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 37418717f6..1df81fdfd5 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -832,3 +832,4 @@ void consider_hibernation(time_t now) {
}
}
}
+
diff --git a/src/or/main.c b/src/or/main.c
index 775913a7c5..c967a69389 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1624,3 +1624,4 @@ int tor_main(int argc, char *argv[]) {
tor_cleanup();
return -1;
}
+
diff --git a/src/or/onion.c b/src/or/onion.c
index d51000198b..75409c3453 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -404,3 +404,4 @@ clear_pending_onions(void)
ol_list = ol_tail = NULL;
ol_length = 0;
}
+
diff --git a/src/or/or.h b/src/or/or.h
index f55f837731..dbd4eef2eb 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1887,3 +1887,4 @@ int tor_version_compare(tor_version_t *a, tor_version_t *b);
void assert_addr_policy_ok(addr_policy_t *t);
#endif
+
diff --git a/src/or/relay.c b/src/or/relay.c
index 701b47bb67..8732c658ce 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1211,3 +1211,4 @@ 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 d5f2f0297b..8f23ddfcbc 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -447,3 +447,4 @@ 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 50ad154d01..3020663311 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -358,3 +358,4 @@ 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 d56c9b1aaa..fe6935a8f9 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -289,3 +289,4 @@ 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 07728b3e5b..9432440eb7 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1028,3 +1028,4 @@ rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ)
conn->port,serviceid);
return -1;
}
+
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 7df81e6121..ccdbe39327 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -758,3 +758,4 @@ void rep_hist_free_all(void)
tor_free(write_array);
predicted_ports_free();
}
+
diff --git a/src/or/router.c b/src/or/router.c
index 1f67e5bd56..32f6e5af9a 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -970,3 +970,4 @@ void router_free_all_keys(void)
if (desc_routerinfo)
routerinfo_free(desc_routerinfo);
}
+
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 9b05d86f38..44aa8123b4 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1459,3 +1459,4 @@ void clear_trusted_dir_servers(void)
trusted_dir_servers = smartlist_create();
}
}
+
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 881c5009fc..535c88d8db 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1631,3 +1631,4 @@ tor_version_same_series(tor_version_t *a, tor_version_t *b)
(a->minor == b->minor) &&
(a->micro == b->micro));
}
+
diff --git a/src/or/test.c b/src/or/test.c
index c41cf98742..7d31b4e053 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1463,3 +1463,4 @@ main(int c, char**v) {
else
return 0;
}
+
diff --git a/src/or/tor_main.c b/src/or/tor_main.c
index 97de6fbddf..26c260c92c 100644
--- a/src/or/tor_main.c
+++ b/src/or/tor_main.c
@@ -18,3 +18,4 @@ int main(int argc, char *argv[])
{
return tor_main(argc, argv);
}
+
diff --git a/src/or/tree.h b/src/or/tree.h
index 7b4f6a0eea..6863bb7a41 100644
--- a/src/or/tree.h
+++ b/src/or/tree.h
@@ -675,3 +675,4 @@ name##_RB_MINMAX(struct name *head, int val) \
(x) = name##_RB_NEXT(head, x))
#endif /* _SYS_TREE_H_ */
+