[Commits] [SCM] claws branch, master, updated. 3.11.1-144-g6044d9d
claws at claws-mail.org
claws at claws-mail.org
Fri Jun 19 20:13:01 CEST 2015
The branch, master has been updated
via 6044d9dcb1b996b1ba269174441eebf51a96439b (commit)
from 8549b2a6cb15d0b3bbeef6284e7c3bda7ea3d0a7 (commit)
Summary of changes:
src/plugins/managesieve/managesieve.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 6044d9dcb1b996b1ba269174441eebf51a96439b
Author: Paul <paul at claws-mail.org>
Date: Fri Jun 19 19:12:57 2015 +0100
fix error on load: 'undefined symbol: response_is_ok'
happened for me with gcc5.
Patch by Charles Lehner.
diff --git a/src/plugins/managesieve/managesieve.c b/src/plugins/managesieve/managesieve.c
index 7dc23b1..14f89db 100644
--- a/src/plugins/managesieve/managesieve.c
+++ b/src/plugins/managesieve/managesieve.c
@@ -299,7 +299,7 @@ static gint sieve_auth(SieveSession *session)
return SE_OK;
}
-void sieve_session_putscript_cb(SieveSession *session, SieveResult *result)
+static void sieve_session_putscript_cb(SieveSession *session, SieveResult *result)
{
/* Remove script name from the beginning the response,
* which are added by Dovecot/Pigeonhole */
@@ -321,22 +321,22 @@ void sieve_session_putscript_cb(SieveSession *session, SieveResult *result)
session->current_cmd->cb(session, result, session->current_cmd->data);
}
-inline gboolean response_is_ok(const char *msg)
+static inline gboolean response_is_ok(const char *msg)
{
return !strncmp(msg, "OK", 2) && (!msg[2] || msg[2] == ' ');
}
-inline gboolean response_is_no(const char *msg)
+static inline gboolean response_is_no(const char *msg)
{
return !strncmp(msg, "NO", 2) && (!msg[2] || msg[2] == ' ');
}
-inline gboolean response_is_bye(const char *msg)
+static inline gboolean response_is_bye(const char *msg)
{
return !strncmp(msg, "BYE", 3) && (!msg[3] || msg[3] == ' ');
}
-void sieve_got_capability(SieveSession *session, gchar *cap_name,
+static void sieve_got_capability(SieveSession *session, gchar *cap_name,
gchar *cap_value)
{
if (strcmp(cap_name, "SASL") == 0) {
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list