diff options
author | TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp> | 2017-06-01 13:33:21 -0700 |
---|---|---|
committer | TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp> | 2017-06-01 13:33:21 -0700 |
commit | cd3b603d9ebf5c305802b33d789ca610141e869b (patch) | |
tree | ad15733091409806ebf7fdd844e93c8c57d99a95 /pop.c | |
parent | e7c88e4b8d0513967c220e419cbe76b5a575300d (diff) |
Fix "format string is not a string literal" warnings. (closes #3949)
Mutt calls msgfmt with '-c' to verify that translation format strings
match, but it is still safer to indirect strings with no formatting
through %s.
Diffstat (limited to 'pop.c')
-rw-r--r-- | pop.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,7 +98,7 @@ static int pop_read_header (POP_DATA *pop_data, HEADER *h) pop_data->cmd_top = 0; dprint (1, (debugfile, "pop_read_header: unset TOP capability\n")); - snprintf (pop_data->err_msg, sizeof (pop_data->err_msg), + snprintf (pop_data->err_msg, sizeof (pop_data->err_msg), "%s", _("Command TOP is not supported by server.")); } } @@ -272,7 +272,7 @@ static int pop_fetch_headers (CONTEXT *ctx) pop_data->cmd_uidl = 0; dprint (1, (debugfile, "pop_fetch_headers: unset UIDL capability\n")); - snprintf (pop_data->err_msg, sizeof (pop_data->err_msg), + snprintf (pop_data->err_msg, sizeof (pop_data->err_msg), "%s", _("Command UIDL is not supported by server.")); } } |