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
520ee3e6
...
520ee3e69ef03af0af163da6a5e2e1d086317c49
authored
2006-10-04 11:28:45 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(vacation_subject): Improve yesterday's fix, following Kostas' suggestion.
1 parent
052deceb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
libsieve/extensions/vacation.c
libsieve/extensions/vacation.c
View file @
520ee3e
...
...
@@ -400,14 +400,11 @@ vacation_subject (mu_sieve_machine_t mach, mu_list_t tags,
mu_sieve_value_t
*
arg
;
char
*
value
;
char
*
subject
;
int
subject_allocated
;
int
subject_allocated
=
0
;
mu_header_t
hdr
;
if
(
mu_sieve_tag_lookup
(
tags
,
"subject"
,
&
arg
))
{
subject
=
arg
->
v
.
string
;
subject_allocated
=
0
;
}
else
if
(
mu_message_get_header
(
msg
,
&
hdr
)
==
0
&&
mu_header_aget_value_unfold
(
hdr
,
MU_HEADER_SUBJECT
,
&
value
)
==
0
)
{
...
...
@@ -449,7 +446,7 @@ vacation_subject (mu_sieve_machine_t mach, mu_list_t tags,
free
(
value
);
}
else
subject
=
"Re:"
;
subject
=
"Re:
Your mail
"
;
if
(
mu_rfc2047_encode
(
MU_SIEVE_CHARSET
,
"quoted-printable"
,
subject
,
&
value
))
...
...
Please
register
or
sign in
to post a comment