Split a long printf format string.

This commit is contained in:
John Hood
2016-11-07 00:29:59 -05:00
parent 9df71ae5ad
commit 8ca8a54e11
+4 -4
View File
@@ -213,10 +213,10 @@ void STMClient::shutdown( void )
} }
if ( still_connecting() ) { if ( still_connecting() ) {
fprintf( stderr, "\nmosh did not make a successful connection to %s:%s.\n", ip.c_str(), port.c_str() ); fprintf( stderr, "\nmosh did not make a successful connection to %s:%s.\n"
fprintf( stderr, "Please verify that UDP port %s is not firewalled and can reach the server.\n\n", port.c_str() ); "Please verify that UDP port %s is not firewalled and can reach the server.\n\n"
fputs( "(By default, mosh uses a UDP port between 60000 and 61000. The -p option\n" "(By default, mosh uses a UDP port between 60000 and 61000. The -p option\n"
"selects a specific UDP port number.)\n", stderr ); "selects a specific UDP port number.)\n", ip.c_str(), port.c_str(), port.c_str() );
} else if ( network ) { } else if ( network ) {
if ( !clean_shutdown ) { if ( !clean_shutdown ) {
fputs( "\n\nmosh did not shut down cleanly. Please note that the\n" fputs( "\n\nmosh did not shut down cleanly. Please note that the\n"