Bugfix.
* libproto/remote/folder.c (_remote_is_scheme): Fix invalid return value.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -52,7 +52,7 @@ _remote_is_scheme (mu_record_t record, mu_url_t url, int flags) | ... | @@ -52,7 +52,7 @@ _remote_is_scheme (mu_record_t record, mu_url_t url, int flags) |
52 | || scheme_len < MU_REMOTE_MBOX_PREFIX_LEN | 52 | || scheme_len < MU_REMOTE_MBOX_PREFIX_LEN |
53 | || memcmp (MU_REMOTE_MBOX_PREFIX, scheme, | 53 | || memcmp (MU_REMOTE_MBOX_PREFIX, scheme, |
54 | MU_REMOTE_MBOX_PREFIX_LEN) != 0) | 54 | MU_REMOTE_MBOX_PREFIX_LEN) != 0) |
55 | return EINVAL; | 55 | return 0; |
56 | 56 | ||
57 | 57 | ||
58 | memcpy (&s_url, url, sizeof (s_url)); | 58 | memcpy (&s_url, url, sizeof (s_url)); | ... | ... |
-
Please register or sign in to post a comment