Commit b3a6448c authored by Debarshi Ray's avatar Debarshi Ray

ewsclient: Add a comment to cover cancellation through a GCancellable

parent 23bb1c0c
......@@ -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.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment