| Index: trunk/src/google_apis/gaia/gaia_oauth_client.cc
|
| ===================================================================
|
| --- trunk/src/google_apis/gaia/gaia_oauth_client.cc (revision 203118)
|
| +++ trunk/src/google_apis/gaia/gaia_oauth_client.cc (working copy)
|
| @@ -203,7 +203,7 @@
|
| // If we don't have an access token yet and the the error was not
|
| // RC_BAD_REQUEST, we may need to retry.
|
| if ((source->GetMaxRetriesOn5xx() != -1) &&
|
| - (num_retries_ >= source->GetMaxRetriesOn5xx())) {
|
| + (num_retries_ > source->GetMaxRetriesOn5xx())) {
|
| // Retry limit reached. Give up.
|
| delegate_->OnNetworkError(source->GetResponseCode());
|
| } else {
|
|
|