(_pop_user): Do not close the stream on authentication failures
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -541,7 +541,7 @@ _pop_user (authority_t auth) | ... | @@ -541,7 +541,7 @@ _pop_user (authority_t auth) |
541 | mailbox_get_observable (mbox, &observable); | 541 | mailbox_get_observable (mbox, &observable); |
542 | CLEAR_STATE (mpd); | 542 | CLEAR_STATE (mpd); |
543 | observable_notify (observable, MU_EVT_AUTHORITY_FAILED); | 543 | observable_notify (observable, MU_EVT_AUTHORITY_FAILED); |
544 | CHECK_ERROR_CLOSE (mbox, mpd, EACCES); | 544 | return MU_ERR_AUTH_FAILURE; |
545 | } | 545 | } |
546 | mpd->state = POP_AUTH_DONE; | 546 | mpd->state = POP_AUTH_DONE; |
547 | break; /* We're outta here. */ | 547 | break; /* We're outta here. */ | ... | ... |
-
Please register or sign in to post a comment