diff options
Diffstat (limited to 'gdata/gdata-service.c')
-rw-r--r-- | gdata/gdata-service.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c index e3861272..dec5ec94 100644 --- a/gdata/gdata-service.c +++ b/gdata/gdata-service.c @@ -814,15 +814,13 @@ authenticate_thread (GSimpleAsyncResult *result, GDataService *service, GCancell /* Authenticate and return */ success = authenticate (service, data->username, data->password, NULL, NULL, cancellable, &error); + set_authentication_details (service, data->username, data->password, success); g_simple_async_result_set_op_res_gboolean (result, success); if (success == FALSE) { g_simple_async_result_set_from_error (result, error); g_error_free (error); } - - /* Update the authentication details held by the service (protected by a mutex) */ - set_authentication_details (service, data->username, data->password, success); } /** |