X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=b0e93d47f76f464837df35c5219cc907fc934249;hp=9d376267dd36f10e7905cf4b06a4d910d41cd56d;hb=b6980caf7b13994c57957872876cdecc21e54a82;hpb=82f35ae0a006c52d0f6e3c5e09fdac5d16cddaf3 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 */