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
806e4686
...
806e468604470f4039a3728478febfa9a7c92e4a
authored
2002-08-13 13:34:30 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(util_get_homedir): Do not strdup return. mu_get_homedir() does it now.
1 parent
54d98a14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
mail/util.c
mail/util.c
View file @
806e468
...
...
@@ -553,16 +553,16 @@ util_isdeleted (int n)
}
char
*
util_get_homedir
()
util_get_homedir
()
{
char
*
homedir
=
mu_get_homedir
();
char
*
homedir
=
mu_get_homedir
();
if
(
!
homedir
)
{
/* Shouldn't happen, but one never knows */
util_error
(
"can't get homedir"
);
util_error
(
"can't get homedir"
);
exit
(
EXIT_FAILURE
);
}
return
strdup
(
homedir
)
;
return
homedir
;
}
char
*
...
...
Please
register
or
sign in
to post a comment