[gnome-online-accounts] ewsclient: Add a comment to cover cancellation through a GCancellable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] ewsclient: Add a comment to cover cancellation through a GCancellable
- Date: Wed, 5 Dec 2018 18:54:58 +0000 (UTC)
commit b3a6448cb5f31fec81cf8aaf480413327e6c7e73
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Dec 5 19:17:50 2018 +0100
ewsclient: Add a comment to cover cancellation through a GCancellable
src/goabackend/goaewsclient.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index bdc658e1..fc56bf7a 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -220,7 +220,11 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
*/
if (status == SOUP_STATUS_CANCELLED)
{
- /* If a previous autodiscover attempt for the same GAsyncResult
+ /* If we are being aborted by the GCancellable, then the
+ * GSimpleAsyncResult is responsible for setting the GError
+ * automatically.
+ *
+ * If a previous autodiscover attempt for the same GAsyncResult
* was successful then no additional attempts are required and
* we should use the result from the earlier attempt.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]