From 8ca8a54e11d3ce359487eff5a7ecf5f4e0533c6a Mon Sep 17 00:00:00 2001 From: John Hood Date: Mon, 7 Nov 2016 00:29:59 -0500 Subject: [PATCH] Split a long printf format string. --- src/frontend/stmclient.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/stmclient.cc b/src/frontend/stmclient.cc index 622d505..44611d9 100644 --- a/src/frontend/stmclient.cc +++ b/src/frontend/stmclient.cc @@ -85,7 +85,7 @@ void STMClient::init( void ) string native_charset( locale_charset() ); fprintf( stderr, "mosh-client needs a UTF-8 native locale to run.\n\n" - "Unfortunately, the client's environment (%s) specifies\n" + "Unfortunately, the client's environment (%s) specifies\n" "the character set \"%s\".\n\n", native_ctype.str().c_str(), native_charset.c_str() ); int unused __attribute((unused)) = system( "locale" ); @@ -213,10 +213,10 @@ void STMClient::shutdown( void ) } if ( still_connecting() ) { - fprintf( stderr, "\nmosh did not make a successful connection to %s:%s.\n", ip.c_str(), port.c_str() ); - fprintf( stderr, "Please verify that UDP port %s is not firewalled and can reach the server.\n\n", port.c_str() ); - fputs( "(By default, mosh uses a UDP port between 60000 and 61000. The -p option\n" - "selects a specific UDP port number.)\n", stderr ); + fprintf( stderr, "\nmosh did not make a successful connection to %s:%s.\n" + "Please verify that UDP port %s is not firewalled and can reach the server.\n\n" + "(By default, mosh uses a UDP port between 60000 and 61000. The -p option\n" + "selects a specific UDP port number.)\n", ip.c_str(), port.c_str(), port.c_str() ); } else if ( network ) { if ( !clean_shutdown ) { fputs( "\n\nmosh did not shut down cleanly. Please note that the\n"