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
4ff4ca46
...
4ff4ca4662a0c2d9c51b6223348b547974085aab
authored
2004-01-19 11:30:00 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(retrieve_header): Unfold the header, use header_aget_field_value_unfold().
1 parent
9136e985
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
libsieve/tests.c
libsieve/tests.c
View file @
4ff4ca4
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002, 2003,
2004 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -166,7 +167,7 @@ retrieve_header (void *item, void *data, int idx, char **pval)
int
i
=
hc
->
index
++
;
if
(
strcasecmp
(
buf
,
(
char
*
)
item
)
==
0
)
{
if
(
header_aget_field_value
(
hc
->
header
,
i
,
pval
))
if
(
header_aget_field_value
_unfold
(
hc
->
header
,
i
,
pval
))
return
1
;
return
0
;
}
...
...
Please
register
or
sign in
to post a comment