Style cleanup: "foo &x", not "foo& x"
This commit is contained in:
committed by
John Hood
parent
9e9919c941
commit
aeffb71cfc
@@ -259,7 +259,7 @@ Connection::Connection( const char *desired_ip, const char *desired_port ) /* se
|
||||
if ( desired_ip ) {
|
||||
try {
|
||||
if ( try_bind( desired_ip, desired_port_low, desired_port_high ) ) { return; }
|
||||
} catch ( const NetworkException& e ) {
|
||||
} catch ( const NetworkException &e ) {
|
||||
fprintf( stderr, "Error binding to IP %s: %s\n",
|
||||
desired_ip,
|
||||
e.what() );
|
||||
@@ -269,7 +269,7 @@ Connection::Connection( const char *desired_ip, const char *desired_port ) /* se
|
||||
/* now try any local interface */
|
||||
try {
|
||||
if ( try_bind( NULL, desired_port_low, desired_port_high ) ) { return; }
|
||||
} catch ( const NetworkException& e ) {
|
||||
} catch ( const NetworkException &e ) {
|
||||
fprintf( stderr, "Error binding to any interface: %s\n",
|
||||
e.what() );
|
||||
throw; /* this time it's fatal */
|
||||
|
||||
Reference in New Issue
Block a user