Commit 14e0fd63 14e0fd63234afa62f413369009bb15073fcc5cfe by Sergey Poznyakoff

Bugfix.

* libproto/remote/folder.c (_remote_is_scheme): Fix invalid return
value.
1 parent 4372418d
...@@ -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));
......