Skip to content

Commit 0bc4091

Browse files
committed
Merge pull request Correct spelling in some error messages
Pull request cloned from Grive#133 for https://github.com/murraycu/grive/commit/92f9a4f0caf8462195838f0ef1bb9e6a1c1503e9
2 parents 27817e8 + 92f9a4f commit 0bc4091

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libgrive/src/protocol/AuthAgent.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ std::string AuthAgent::Unescape( const std::string& str )
136136

137137
bool AuthAgent::CheckRetry( long response )
138138
{
139-
// HTTP 500 and 503 should be temperory. just wait a bit and retry
139+
// HTTP 500 and 503 should be temporary. just wait a bit and retry
140140
if ( response == 500 || response == 503 )
141141
{
142-
Log( "resquest failed due to temperory error: %1%. retrying in 5 seconds",
142+
Log( "request failed due to temporary error: %1%. retrying in 5 seconds",
143143
response, log::warning ) ;
144144

145145
os::Sleep( 5 ) ;
@@ -149,7 +149,7 @@ bool AuthAgent::CheckRetry( long response )
149149
// HTTP 401 Unauthorized. the auth token has been expired. refresh it
150150
else if ( response == 401 )
151151
{
152-
Log( "resquest failed due to auth token expired: %1%. refreshing token",
152+
Log( "request failed due to auth token expired: %1%. refreshing token",
153153
response, log::warning ) ;
154154

155155
m_auth.Refresh() ;

0 commit comments

Comments
 (0)