Split a long printf format string.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user