[Commits] [SCM] claws branch, master, updated. 3.17.4-57-g4556004a3
wwp at claws-mail.org
wwp at claws-mail.org
Tue Nov 5 11:28:32 CET 2019
The branch, master has been updated
via 4556004a35fde592762ade57aef3e41707490472 (commit)
from 49091960d443f54ece9d2641e5c1da1b38dac747 (commit)
Summary of changes:
src/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 4556004a35fde592762ade57aef3e41707490472
Author: wwp <subscript at free.fr>
Date: Tue Nov 5 12:28:05 2019 +0100
Fix wrong length value passed to fd_write().
diff --git a/src/main.c b/src/main.c
index 87b2c5671..deb5e1322 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2400,11 +2400,11 @@ static gint prohibit_duplicate_launch(void)
} else if (cmd.send) {
fd_write_all(uxsock, "send\n", 5);
} else if (cmd.online_mode == ONLINE_MODE_ONLINE) {
- fd_write(uxsock, "online\n", 6);
+ fd_write(uxsock, "online\n", 7);
} else if (cmd.online_mode == ONLINE_MODE_OFFLINE) {
- fd_write(uxsock, "offline\n", 7);
+ fd_write(uxsock, "offline\n", 8);
} else if (cmd.debug) {
- fd_write(uxsock, "debug\n", 7);
+ fd_write(uxsock, "debug\n", 6);
} else if (cmd.status || cmd.status_full) {
gchar buf[BUFFSIZE];
gint i;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list