projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more useful list primitives
[apps/madmutt.git]
/
sendlib.c
diff --git
a/sendlib.c
b/sendlib.c
index
33b7e9a
..
6a25038
100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-2148,9
+2148,9
@@
void mutt_prepare_envelope (ENVELOPE * env, int final)
* recipients if there is no To: or Cc: field, so attempt to suppress
* it by using an empty To: field.
*/
* recipients if there is no To: or Cc: field, so attempt to suppress
* it by using an empty To: field.
*/
- env->to =
rfc822_new_address
();
+ env->to =
address_new
();
env->to->group = 1;
env->to->group = 1;
- env->to->next =
rfc822_new_address
();
+ env->to->next =
address_new
();
buffer[0] = 0;
rfc822_cat (buffer, sizeof (buffer), "undisclosed-recipients",
buffer[0] = 0;
rfc822_cat (buffer, sizeof (buffer), "undisclosed-recipients",
@@
-2190,7
+2190,7
@@
void mutt_unprepare_envelope (ENVELOPE * env)
for (item = env->userhdrs; item; item = item->next)
rfc2047_decode (&item->data);
for (item = env->userhdrs; item; item = item->next)
rfc2047_decode (&item->data);
-
rfc822_free_address
(&env->mail_followup_to);
+
address_delete
(&env->mail_followup_to);
/* back conversions */
rfc2047_decode_adrlist (env->to);
/* back conversions */
rfc2047_decode_adrlist (env->to);
@@
-2282,7
+2282,7
@@
int mutt_bounce_message (FILE * fp, HEADER * h, address_t * to)
ret = _mutt_bounce_message (fp, h, to, resent_from, from);
ret = _mutt_bounce_message (fp, h, to, resent_from, from);
-
rfc822_free_address
(&from);
+
address_delete
(&from);
return ret;
}
return ret;
}
@@
-2311,7
+2311,7
@@
address_t *mutt_remove_duplicates (address_t * addr)
*last = addr->next;
addr->next = NULL;
*last = addr->next;
addr->next = NULL;
-
rfc822_free_address
(&addr);
+
address_delete
(&addr);
addr = *last;
}
addr = *last;
}