projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no more SHORT_STRING's. begin some doc.
[apps/madmutt.git]
/
init.c
diff --git
a/init.c
b/init.c
index
21bdd4f
..
572663c
100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-499,7
+499,7
@@
static void addr_to_string (char* dst, ssize_t dstlen,
struct option_t* option) {
char s[HUGE_STRING];
s[0] = '\0';
struct option_t* option) {
char s[HUGE_STRING];
s[0] = '\0';
- rfc822_
write_address
(s, sizeof(s), *((address_t**) option->data), 0);
+ rfc822_
addrcat
(s, sizeof(s), *((address_t**) option->data), 0);
snprintf (dst, dstlen, "%s=\"%s\"", option->option, NONULL (s));
}
snprintf (dst, dstlen, "%s=\"%s\"", option->option, NONULL (s));
}
@@
-2302,8
+2302,7
@@
int mutt_var_value_complete (char *buffer, ssize_t len, int pos)
mutt_pretty_mailbox (tmp);
}
else if (DTYPE (option->type) == DT_ADDR) {
mutt_pretty_mailbox (tmp);
}
else if (DTYPE (option->type) == DT_ADDR) {
- rfc822_write_address (tmp, sizeof(tmp),
- *((address_t **) option->data), 0);
+ rfc822_addrcat(tmp, sizeof(tmp), *((address_t **) option->data), 0);
}
else if (DTYPE (option->type) == DT_QUAD)
m_strcpy(tmp, sizeof(tmp), vals[quadoption(option->data)]);
}
else if (DTYPE (option->type) == DT_QUAD)
m_strcpy(tmp, sizeof(tmp), vals[quadoption(option->data)]);