From 4a78cac529b369543cecd3f638ce4471d4f29129 Mon Sep 17 00:00:00 2001 From: Murray Cumming <murrayc@murrayc.com> Date: Thu, 4 Oct 2012 12:33:11 +0200 Subject: [PATCH] Correct spelling in some error messages --- libgrive/src/protocol/AuthAgent.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() ;