projects
/
cyrus-sasl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5965589
)
negative SASL errors are fatal
author
Luke Howard
<lukeh@padl.com>
Wed, 30 Mar 2011 08:11:53 +0000
(19:11 +1100)
committer
Luke Howard
<lukeh@padl.com>
Wed, 30 Mar 2011 08:11:53 +0000
(19:11 +1100)
plugins/gs2.c
patch
|
blob
|
history
diff --git
a/plugins/gs2.c
b/plugins/gs2.c
index
1b6dc6a
..
025f7fc
100644
(file)
--- a/
plugins/gs2.c
+++ b/
plugins/gs2.c
@@
-539,7
+539,7
@@
cleanup:
sasl_gs2_seterror(text->utils, maj_stat, min_stat);
ret = SASL_FAIL;
}
- if (ret
!= SASL_OK && ret != SASL_CONTINUE
)
+ if (ret
< SASL_OK
)
sasl_gs2_free_context_contents(text);
return ret;
@@
-842,7
+842,7
@@
cleanup:
sasl_gs2_seterror(text->utils, maj_stat, min_stat);
ret = SASL_FAIL;
}
- if (ret
!= SASL_OK && ret != SASL_CONTINUE
)
+ if (ret
< SASL_OK
)
sasl_gs2_free_context_contents(text);
return ret;