diff --git a/libgrive/src/protocol/AuthAgent.cc b/libgrive/src/protocol/AuthAgent.cc index 745f274c..706d5f02 100644 --- a/libgrive/src/protocol/AuthAgent.cc +++ b/libgrive/src/protocol/AuthAgent.cc @@ -136,10 +136,10 @@ std::string AuthAgent::Unescape( const std::string& str ) bool AuthAgent::CheckRetry( long response ) { - // HTTP 500 and 503 should be temperory. just wait a bit and retry + // HTTP 500 and 503 should be temporary. just wait a bit and retry if ( response == 500 || response == 503 ) { - Log( "resquest failed due to temperory error: %1%. retrying in 5 seconds", + Log( "request failed due to temporary error: %1%. retrying in 5 seconds", response, log::warning ) ; os::Sleep( 5 ) ; @@ -149,7 +149,7 @@ bool AuthAgent::CheckRetry( long response ) // HTTP 401 Unauthorized. the auth token has been expired. refresh it else if ( response == 401 ) { - Log( "resquest failed due to auth token expired: %1%. refreshing token", + Log( "request failed due to auth token expired: %1%. refreshing token", response, log::warning ) ; m_auth.Refresh() ;