commit df67123b4b313f057670ccd019c9e33767878eb1
parent ea8e47385c01a0b900c6c6e0e5d7ee93c9d06236
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date: Sat, 20 Nov 2021 03:32:03 -0700
Fix clang -Wnon-literal-null-conversion warning
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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"