Commit e4128c9e e4128c9e5ebdafaea274caadb87a52a7a405243d by Sergey Poznyakoff

Minor fix.

* mailbox/mu_auth.c (mu_auth_runlist): Do not overwrite last
meaningful error code by ENOSYS.
1 parent 968b981b
......@@ -218,7 +218,9 @@ mu_auth_runlist (mu_list_t flist, struct mu_auth_data **return_data,
status = rc;
break;
}
else if (status != EAGAIN)
else if (rc == ENOSYS && status != 0)
/* nothing: do not overwrite last meaningful return code */;
else if (status != EAGAIN)
status = rc;
}
......