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
c1851318
...
c1851318b12fd5a77c6a2c30e7801f5faa9941b7
authored
2009-02-19 02:40:07 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bugfix
* libproto/mailer/prog.c (_expand_sender): Allocate memory.
1 parent
fad4a6d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
libproto/mailer/prog.c
libproto/mailer/prog.c
View file @
c185131
...
...
@@ -138,12 +138,12 @@ static int
_expand_sender
(
const
char
*
name
,
void
*
data
,
char
**
p
)
{
mu_address_t
addr
=
data
;
c
onst
c
har
*
email
;
int
status
=
mu_address_
s
get_email
(
addr
,
1
,
&
email
);
char
*
email
;
int
status
=
mu_address_
a
get_email
(
addr
,
1
,
&
email
);
if
(
status
!=
0
)
return
status
;
*
(
const
char
**
)
p
=
email
;
*
p
=
email
;
return
0
;
}
...
...
Please
register
or
sign in
to post a comment