committed by
Keith Winstein
parent
fb6d07e566
commit
49fc21c8a3
@@ -124,13 +124,13 @@ int main( int argc, char *argv[] )
|
||||
}
|
||||
|
||||
client.shutdown();
|
||||
} catch ( Network::NetworkException e ) {
|
||||
} catch ( const Network::NetworkException& e ) {
|
||||
fprintf( stderr, "Network exception: %s: %s\r\n",
|
||||
e.function.c_str(), strerror( e.the_errno ) );
|
||||
} catch ( Crypto::CryptoException e ) {
|
||||
} catch ( const Crypto::CryptoException& e ) {
|
||||
fprintf( stderr, "Crypto exception: %s\r\n",
|
||||
e.text.c_str() );
|
||||
} catch ( std::string s ) {
|
||||
} catch ( const std::string& s ) {
|
||||
fprintf( stderr, "Error: %s\r\n", s.c_str() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user