projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deal with $hostname and $shorthost
[apps/madmutt.git]
/
compose.c
diff --git
a/compose.c
b/compose.c
index
9d37626
..
b0e93d4
100644
(file)
--- 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 */