[evolution-data-server] Bug #624130 - Sasl::challenge reported failure without setting its GError
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #624130 - Sasl::challenge reported failure without setting its GError
- Date: Thu, 2 Sep 2010 11:29:33 +0000 (UTC)
commit 0c130efaa62168ed2888ed8e141933bb113283fa
Author: Milan Crha <mcrha redhat com>
Date: Thu Sep 2 13:27:58 2010 +0200
Bug #624130 - Sasl::challenge reported failure without setting its GError
camel/camel-sasl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-sasl.c b/camel/camel-sasl.c
index 7e2da2b..8a616ce 100644
--- a/camel/camel-sasl.c
+++ b/camel/camel-sasl.c
@@ -282,7 +282,8 @@ camel_sasl_challenge (CamelSasl *sasl,
g_return_val_if_fail (class->challenge != NULL, NULL);
response = class->challenge (sasl, token, error);
- CAMEL_CHECK_GERROR (sasl, challenge, response != NULL, error);
+ if (token)
+ CAMEL_CHECK_GERROR (sasl, challenge, response != NULL, error);
return response;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]