projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more constness.
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
3b6b773
..
32370e3
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-178,7
+178,7
@@
static ADDRESS *find_mailing_lists (ADDRESS * t, ADDRESS * c)
return top;
}
return top;
}
-static int edit_address (ADDRESS ** a,
/* const */
char *field)
+static int edit_address (ADDRESS ** a,
const
char *field)
{
char buf[HUGE_STRING];
char *err = NULL;
{
char buf[HUGE_STRING];
char *err = NULL;
@@
-490,10
+490,9
@@
static int default_to (ADDRESS ** to, ENVELOPE * env, int flags, int hmfupto)
*/
if (!(flags & SENDGROUPREPLY) && mutt_is_list_cc (0, env->to, env->cc)) {
switch (query_quadoption (OPT_LISTREPLY,
*/
if (!(flags & SENDGROUPREPLY) && mutt_is_list_cc (0, env->to, env->cc)) {
switch (query_quadoption (OPT_LISTREPLY,
- _
- ("Message came from a mailing list. Reply to author only?")))
+ _("Message came from a mailing list. List-reply to mailing list?")))
{
{
- case M_
NO
:
+ case M_
YES
:
tmp = find_mailing_lists (env->to, env->cc);
rfc822_append (to, tmp);
rfc822_free_address (&tmp);
tmp = find_mailing_lists (env->to, env->cc);
rfc822_append (to, tmp);
rfc822_free_address (&tmp);
@@
-1077,7
+1076,7
@@
static void fix_end_of_file (const char *data)
if ((fp = safe_fopen (data, "a+")) == NULL)
return;
if ((fp = safe_fopen (data, "a+")) == NULL)
return;
- fseek (fp, -1, SEEK_END);
+ fseek
o
(fp, -1, SEEK_END);
if ((c = fgetc (fp)) != '\n')
fputc ('\n', fp);
safe_fclose (&fp);
if ((c = fgetc (fp)) != '\n')
fputc ('\n', fp);
safe_fclose (&fp);
@@
-1112,8
+1111,8
@@
int ci_send_message (int flags, /* send mode */
char *pgpkeylist = NULL;
/* save current value of "pgp_sign_as" */
char *pgpkeylist = NULL;
/* save current value of "pgp_sign_as" */
- char *signas = NULL;
- c
har *tag = NULL, *err
= NULL;
+ char *signas = NULL
, *err = NULL
;
+ c
onst char *tag
= NULL;
char *ctype;
int rv = -1;
char *ctype;
int rv = -1;