Minor fix.
* mailbox/mu_auth.c (mu_auth_runlist): Do not overwrite last meaningful error code by ENOSYS.
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -218,7 +218,9 @@ mu_auth_runlist (mu_list_t flist, struct mu_auth_data **return_data, | ... | @@ -218,7 +218,9 @@ mu_auth_runlist (mu_list_t flist, struct mu_auth_data **return_data, |
218 | status = rc; | 218 | status = rc; |
219 | break; | 219 | break; |
220 | } | 220 | } |
221 | else if (status != EAGAIN) | 221 | else if (rc == ENOSYS && status != 0) |
222 | /* nothing: do not overwrite last meaningful return code */; | ||
223 | else if (status != EAGAIN) | ||
222 | status = rc; | 224 | status = rc; |
223 | } | 225 | } |
224 | 226 | ... | ... |
-
Please register or sign in to post a comment