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
6a8d3bcb
...
6a8d3bcbd7b0cf43ef80e83bf9550ad167a9cb58
authored
2005-11-29 17:41:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_expand_name): Accept names starting with mh:/ protocol indicator.
1 parent
b111a6cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
mh/mh_init.c
mh/mh_init.c
View file @
6a8d3bc
...
...
@@ -422,7 +422,9 @@ mh_expand_name (const char *base, const char *name, int is_folder)
if
(
is_folder
)
{
if
(
namep
[
0
]
==
'/'
)
if
(
memcmp
(
namep
,
"mh:/"
,
4
)
==
0
)
return
namep
;
else
if
(
namep
[
0
]
==
'/'
)
asprintf
(
&
p
,
"mh:%s"
,
namep
);
else
asprintf
(
&
p
,
"mh:%s/%s"
,
base
?
base
:
mu_folder_directory
(),
namep
);
...
...
Please
register
or
sign in
to post a comment