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
832dad53
...
832dad5395744b45ed705d8b9bab6432cdbf7d0e
authored
2010-04-01 19:49:20 +0300
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bugfix.
* mailbox/attachment.c (_ISSPECIAL): Fix definition.
1 parent
85bc741c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
mailbox/attachment.c
mailbox/attachment.c
View file @
832dad5
...
...
@@ -185,11 +185,8 @@ _attachment_free (struct _msg_info *info, int free_message)
free
(
info
);
}
#define _ISSPECIAL(c) ( \
((c) == '(') || ((c) == ')') || ((c) == '<') || ((c) == '>') \
|| ((c) == '@') || ((c) == ',') || ((c) == ';') || ((c) == ':') \
|| ((c) == '\\') || ((c) == '.') || ((c) == '[') \
|| ((c) == ']') )
/* See RFC 2045, 5.1. Syntax of the Content-Type Header Field */
#define _ISSPECIAL(c) !!strchr ("()<>@,;:\\\"/[]?=", c)
static
char
*
_header_get_param
(
char
*
field_body
,
const
char
*
param
,
size_t
*
len
)
...
...
Please
register
or
sign in
to post a comment