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
c00e6db2
...
c00e6db2910935d81783f0fe681d3cf8bb743dab
authored
2004-01-13 09:52:09 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(get_personal): Fixed
1 parent
c49a7e4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
frm/frm.c
frm/frm.c
View file @
c00e6db
...
...
@@ -229,12 +229,13 @@ get_personal (header_t hdr, const char *field, char *personal, size_t buflen)
{
address_t
address
=
NULL
;
size_t
len
=
0
;
frm_rfc2047_decode
(
hfield
,
sizeof
(
hfield
));
address_create
(
&
address
,
hfield
);
address_get_personal
(
address
,
1
,
personal
,
buflen
,
&
len
);
address_destroy
(
&
address
);
frm_rfc2047_decode
(
personal
,
buflen
);
if
(
len
==
0
)
strncpy
(
personal
,
hfield
,
buflen
)[
buflen
-
1
]
=
'\0'
;
}
...
...
Please
register
or
sign in
to post a comment