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
1111ed08
...
1111ed084950da206aceb760bb3541be4f4d7d51
authored
2002-12-05 14:22:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(get_homedir): Returned value is not const.
1 parent
f02c9940
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
mailbox/mbx_default.c
mailbox/mbx_default.c
View file @
1111ed0
...
...
@@ -91,10 +91,10 @@ split_shortcut (const char *file, const char pfx[], char **user, char **rest)
return
0
;
}
static
c
onst
c
har
*
static
char
*
get_homedir
(
const
char
*
user
)
{
c
onst
c
har
*
homedir
=
NULL
;
char
*
homedir
=
NULL
;
struct
mu_auth_data
*
auth
=
NULL
;
if
(
user
)
...
...
@@ -172,7 +172,7 @@ plus_expand (const char *file, char **buf)
{
char
*
user
=
NULL
;
char
*
path
=
NULL
;
c
onst
c
har
*
home
;
char
*
home
;
int
status
,
len
;
if
((
status
=
split_shortcut
(
file
,
"+="
,
&
user
,
&
path
)))
...
...
@@ -218,7 +218,7 @@ tilde_expand (const char *file, char **buf)
{
char
*
user
=
NULL
;
char
*
path
=
NULL
;
c
onst
c
har
*
home
;
char
*
home
;
int
status
;
int
len
;
...
...
Please
register
or
sign in
to post a comment