aboutsummaryrefslogtreecommitdiffstats
path: root/modules/online-accounts
diff options
context:
space:
mode:
Diffstat (limited to 'modules/online-accounts')
-rw-r--r--modules/online-accounts/camel-sasl-xoauth.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/online-accounts/camel-sasl-xoauth.c b/modules/online-accounts/camel-sasl-xoauth.c
index e2ba57287a..edf5c6eec3 100644
--- a/modules/online-accounts/camel-sasl-xoauth.c
+++ b/modules/online-accounts/camel-sasl-xoauth.c
@@ -16,9 +16,14 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <e-util/e-account-utils.h>
+
#include "camel-sasl-xoauth.h"
-#include <config.h>
#include <glib/gi18n-lib.h>
#define GOA_API_IS_SUBJECT_TO_CHANGE
@@ -368,7 +373,7 @@ sasl_xoauth_challenge_sync (CamelSasl *sasl,
if (goa_client == NULL)
return NULL;
- url = camel_url_new (account->store->url, error);
+ url = camel_url_new (account->source->url, error);
if (url == NULL)
return NULL;