Commit 23bb1c0c authored by Debarshi Ray's avatar Debarshi Ray

ewsclient: Log debug messages to track the status of the client

parent 5a2b03c4
......@@ -136,6 +136,8 @@ ews_client_request_started (SoupSession *session, SoupMessage *msg, SoupSocket *
GError *error;
GTlsCertificateFlags cert_flags;
g_debug ("goa_ews_client_autodiscover(): request started (%p)", msg);
error = NULL;
if (!data->accept_ssl_errors
......@@ -157,6 +159,8 @@ ews_client_autodiscover_cancelled_cb (GCancellable *cancellable, gpointer user_d
AutodiscoverData *data = user_data;
g_debug ("goa_ews_client_autodiscover(): cancelled");
/* The callback will be invoked after we have returned to the main
* loop.
......@@ -195,6 +199,8 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
xmlDoc *doc;
xmlNode *node;
g_debug ("goa_ews_client_autodiscover(): response (%p, %u)", msg, msg->status_code);
size = sizeof (data->msgs) / sizeof (data->msgs[0]);
for (idx = 0; idx < size; idx++)
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