(folder_pop_get_authority): Return an appropriate error code.
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -30,6 +30,7 @@ | ... | @@ -30,6 +30,7 @@ |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #include <mailutils/auth.h> | 32 | #include <mailutils/auth.h> |
33 | #include <mailutils/errno.h> | ||
33 | #include <mailutils/mailbox.h> | 34 | #include <mailutils/mailbox.h> |
34 | 35 | ||
35 | #include <folder0.h> | 36 | #include <folder0.h> |
... | @@ -123,7 +124,7 @@ folder_pop_get_authority (folder_t folder, authority_t *pauth) | ... | @@ -123,7 +124,7 @@ folder_pop_get_authority (folder_t folder, authority_t *pauth) |
123 | } | 124 | } |
124 | else | 125 | else |
125 | { | 126 | { |
126 | status = ENOSYS; | 127 | status = MU_ERR_BAD_AUTH_SCHEME; |
127 | } | 128 | } |
128 | } | 129 | } |
129 | if (pauth) | 130 | if (pauth) | ... | ... |
-
Please register or sign in to post a comment