[Commits] [SCM] claws branch, master, updated. 3.18.0-314-gdf67123b4

jonathan at claws-mail.org jonathan at claws-mail.org
Fri Dec 31 19:17:22 UTC 2021


The branch, master has been updated
       via  df67123b4b313f057670ccd019c9e33767878eb1 (commit)
      from  ea8e47385c01a0b900c6c6e0e5d7ee93c9d06236 (commit)

Summary of changes:
 src/wizard.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit df67123b4b313f057670ccd019c9e33767878eb1
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sat Nov 20 03:32:03 2021 -0700

    Fix clang -Wnon-literal-null-conversion warning

diff --git a/src/wizard.c b/src/wizard.c
index 8dccf238b..743cc4448 100644
--- a/src/wizard.c
+++ b/src/wizard.c
@@ -167,8 +167,8 @@ static PrefParam template_params[] = {
 	 &tmpl.smtpuser, P_STRING, NULL, NULL, NULL},
 	{"smtppass", "",
 	 &tmpl.smtppass, P_STRING, NULL, NULL, NULL},
-	{"recvtype", A_POP3,
-	 &tmpl.recvtype, P_INT, NULL, NULL, NULL},
+	{"recvtype", "0",
+	 &tmpl.recvtype, P_ENUM, NULL, NULL, NULL},
 	{"recvserver", "pop.$DOMAIN",
 	 &tmpl.recvserver, P_STRING, NULL, NULL, NULL},
 	{"recvuser", "$LOGIN",
@@ -238,7 +238,7 @@ static gchar *accountrc_tmpl =
 	"\n"
 	"#recvtype can be:\n"
 	"#0 for pop3\n"
-	"#2  for imap\n"
+	"#1  for imap\n"
 	"#3  for a local mbox file\n"
 	"#recvtype=\n"
 	"\n"

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list