projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
continue the configure simplifications.
[apps/madmutt.git]
/
lib-mime
/
rfc822address.c
diff --git
a/lib-mime/rfc822address.c
b/lib-mime/rfc822address.c
index
e4bf976
..
a76fd25
100644
(file)
--- a/
lib-mime/rfc822address.c
+++ b/
lib-mime/rfc822address.c
@@
-51,7
+51,7
@@
void rfc822_qualify(address_t *addr, const char *host)
}
}
}
}
-address_t *address_dup(address_t *addr)
+address_t *address_dup(
const
address_t *addr)
{
address_t *res = address_new();
{
address_t *res = address_new();
@@
-61,7
+61,7
@@
address_t *address_dup(address_t *addr)
return res;
}
return res;
}
-address_t *address_list_dup(address_t *addr)
+address_t *address_list_dup(
const
address_t *addr)
{
address_t *res = NULL, **resp = &res;
{
address_t *res = NULL, **resp = &res;
@@
-250,7
+250,7
@@
address_t **rfc822_eotoken(address_t **last, static_buf *phrase, static_buf *com
s = parse_address(phrase->buf, comment, cur);
if (s && *s && *s != ',' && *s != ';') {
s = parse_address(phrase->buf, comment, cur);
if (s && *s && *s != ',' && *s != ';') {
- address_
delet
e(&cur);
+ address_
list_wip
e(&cur);
return last;
}
return last;
}
@@
-281,7
+281,7
@@
address_t *rfc822_parse_adrlist(address_t *top, const char *s)
stbuf_append_sp(&phrase);
s = next_phrase(s, &phrase);
if (!s) {
stbuf_append_sp(&phrase);
s = next_phrase(s, &phrase);
if (!s) {
- address_
delet
e(&top);
+ address_
list_wip
e(&top);
return NULL;
}
continue;
return NULL;
}
continue;
@@
-290,7
+290,7
@@
address_t *rfc822_parse_adrlist(address_t *top, const char *s)
stbuf_append_sp(&comment);
s = parse_comment(s + 1, &comment);
if (!s) {
stbuf_append_sp(&comment);
s = parse_comment(s + 1, &comment);
if (!s) {
- address_
delet
e(&top);
+ address_
list_wip
e(&top);
return NULL;
}
continue;
return NULL;
}
continue;
@@
-305,8
+305,8
@@
address_t *rfc822_parse_adrlist(address_t *top, const char *s)
s = parse_address(skipspaces(s + 1), &comment, cur);
if (!s || *s != '>' || !cur->mailbox) {
s = parse_address(skipspaces(s + 1), &comment, cur);
if (!s || *s != '>' || !cur->mailbox) {
- address_
delet
e(&top);
- address_
delet
e(&cur);
+ address_
list_wip
e(&top);
+ address_
list_wip
e(&cur);
return NULL;
}
return NULL;
}