X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=compose.c;h=b0e93d47f76f464837df35c5219cc907fc934249;hb=58e0ddff3bd5e1b9455e8c3ebb1f4b9e7dd71920;hp=9d376267dd36f10e7905cf4b06a4d910d41cd56d;hpb=488a60c8ef78872f38bbb3439a75cb2cda985a12;p=apps%2Fmadmutt.git diff --git a/compose.c b/compose.c index 9d37626..b0e93d4 100644 --- a/compose.c +++ b/compose.c @@ -426,7 +426,7 @@ static const char *compose_format_str (char *buf, ssize_t buflen, char op, case 'h': /* hostname */ snprintf (fmt, sizeof (fmt), "%%%ss", prefix); - snprintf (buf, buflen, fmt, NONULL (Hostname)); + snprintf (buf, buflen, fmt, NONULL(MCore.shorthost)); break; case 'l': /* approx length of current message in bytes */