aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-09 05:37:26 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-09 05:37:26 +0000
commit39265dd72e9285ea61a0d2a16d7e80050ced546e (patch)
tree1affb9adb311c31f0c4e4613653940713655c21c /src/or/main.c
parent95e471c9a65f36776cb1fb9ccbcef4890640d7f4 (diff)
downloadtor-39265dd72e9285ea61a0d2a16d7e80050ced546e.tar
tor-39265dd72e9285ea61a0d2a16d7e80050ced546e.tar.gz
In my private little universe, terminals are still 80 columns. Impose a 160-character-per-line limit; this will creep down.
svn:r5548
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c
index af9534da0..cc617b5cc 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -475,7 +475,9 @@ conn_close_if_marked(int i)
severity = LOG_INFO;
else
severity = LOG_NOTICE;
- log_fn(severity, LD_NET, "Something wrong with your network connection? Conn (addr %s, fd %d, type %s, state %d) tried to write %d bytes but timed out. (Marked at %s:%d)",
+ log_fn(severity, LD_NET, "Something wrong with your network connection? "
+ "Conn (addr %s, fd %d, type %s, state %d) tried to write %d "
+ "bytes but timed out. (Marked at %s:%d)",
safe_str(conn->address), conn->s, conn_type_to_string(conn->type),
conn->state,
(int)buf_datalen(conn->outbuf), conn->marked_for_close_file,
@@ -921,10 +923,14 @@ second_elapsed_callback(int fd, short event, void *args)
/* every 20 minutes, check and complain if necessary */
routerinfo_t *me = router_get_my_routerinfo();
if (me && !check_whether_orport_reachable())
- warn(LD_CONFIG,"Your server (%s:%d) has not managed to confirm that its ORPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.",
+ warn(LD_CONFIG,"Your server (%s:%d) has not managed to confirm that "
+ "its ORPort is reachable. Please check your firewalls, ports, "
+ "address, /etc/hosts file, etc.",
me->address, me->or_port);
if (me && !check_whether_dirport_reachable())
- warn(LD_CONFIG,"Your server (%s:%d) has not managed to confirm that its DirPort is reachable. Please check your firewalls, ports, address, /etc/hosts file, etc.",
+ warn(LD_CONFIG,"Your server (%s:%d) has not managed to confirm that its "
+ "DirPort is reachable. Please check your firewalls, ports, "
+ "address, /etc/hosts file, etc.",
me->address, me->dir_port);
}