The unified diff between revisions [b954a1fc..] and [dd2f27b8..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'netsync.cc'
#
#
# patch "netsync.cc"
# from [8d4dc8e530af4fb0a6cca30ca600dd74f905b1aa]
# to [0edebb049f6f44132b6c97be4663efc113efeee8]
#
============================================================
--- netsync.cc 8d4dc8e530af4fb0a6cca30ca600dd74f905b1aa
+++ netsync.cc 0edebb049f6f44132b6c97be4663efc113efeee8
@@ -2390,7 +2390,7 @@ handle_new_connection(Netxx::Address & a
app_state & app)
{
L(FL("accepting new connection on %s : %s\n")
- % addr.get_name() % lexical_cast<string>(addr.get_port()));
+ % (addr.get_name()?addr.get_name():"") % lexical_cast<string>(addr.get_port()));
Netxx::Peer client = server.accept_connection();
if (!client)
@@ -2589,7 +2589,7 @@ serve_connections(protocol_role role,
else
addr.add_all_addresses (default_port);
- // If se use IPv6 and the initiasation of server fails, we want
+ // If se use IPv6 and the initialisation of server fails, we want
// to try again with IPv4. The reason is that someone may have
// downloaded a IPv6-enabled monotone on a system that doesn't
// have IPv6, and which might fail therefore.