Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
b6eecab8
...
b6eecab8082267852b902db726aca3403dcb789f
authored
2005-08-11 07:29:47 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use mail_find_escape()
1 parent
570af4fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
mail/send.c
mail/send.c
View file @
b6eecab
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2001, 2002, 2003, 2004
, 2005
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -380,14 +380,13 @@ mail_send0 (compose_env_t * env, int save_to)
if
(
argcv_get
(
buf
+
1
,
""
,
NULL
,
&
argc
,
&
argv
)
==
0
)
{
struct
mail_command_entry
entry
;
if
(
argc
>
0
)
{
entry
=
util_find_entry
(
mail_escape_table
,
argv
[
0
]);
const
struct
mail_escape_entry
*
entry
=
mail_find_escape
(
argv
[
0
]);
if
(
entry
.
escfunc
)
status
=
(
*
entry
.
escfunc
)
(
argc
,
argv
,
env
);
if
(
entry
)
status
=
(
*
entry
->
escfunc
)
(
argc
,
argv
,
env
);
else
util_error
(
_
(
"Unknown escape %s"
),
argv
[
0
]);
}
...
...
Please
register
or
sign in
to post a comment