projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c16692
)
Bug #624130 - Sasl::challenge reported failure without setting its GError
author
Milan Crha
<mcrha@redhat.com>
Thu, 2 Sep 2010 11:27:58 +0000
(13:27 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Thu, 2 Sep 2010 11:27:58 +0000
(13:27 +0200)
camel/camel-sasl.c
patch
|
blob
|
history
diff --git
a/camel/camel-sasl.c
b/camel/camel-sasl.c
index
7e2da2b
..
8a616ce
100644
(file)
--- 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;
}