This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=561ce8ffe3472e298bfef315850fd05d818b9082 The branch, master has been updated via 561ce8ffe3472e298bfef315850fd05d818b9082 (commit) from bfd9e34141b9660f563d917fdaccc975d0c69f17 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 561ce8ffe3472e298bfef315850fd05d818b9082 Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Mon Feb 8 16:24:02 2016 +0200 Minor fix * mu/smtp.cÐ(com_list_param): Report if the connection has not been established yet. ----------------------------------------------------------------------- Summary of changes: mu/smtp.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mu/smtp.c b/mu/smtp.c index 52352bb..d9ac79b 100644 --- a/mu/smtp.c +++ b/mu/smtp.c @@ -821,6 +821,12 @@ com_list_param (int argc, char **argv) { int param, i, rc; const char *value; + + if (!smtp) + { + mu_printf ("%s\n", _("no connection yet")); + return 0; + } if (argc > 1) { @@ -833,7 +839,7 @@ com_list_param (int argc, char **argv) } rc = mu_smtp_get_param (smtp, param, &value); if (rc) - mu_diag_funcall (MU_DIAG_ERROR, "mu_smtp_set_param", argv[i], rc); + mu_diag_funcall (MU_DIAG_ERROR, "mu_smtp_get_param", argv[i], rc); else if (value) mu_printf ("%s = %s\n", argv[i], value); else @@ -846,7 +852,7 @@ com_list_param (int argc, char **argv) { rc = mu_smtp_get_param (smtp, paramtab[i].tok, &value); if (rc) - mu_diag_funcall (MU_DIAG_ERROR, "mu_smtp_set_param", + mu_diag_funcall (MU_DIAG_ERROR, "mu_smtp_get_param", paramtab[i].name, rc); else if (value) mu_printf ("%s = %s\n", paramtab[i].name, value); hooks/post-receive -- GNU Mailutils
_______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils