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
37cd336d
...
37cd336d8bb2a4096a59bb8867b73d26867da8fd
authored
2006-06-14 08:40:00 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mailbox_folder_create): Bugfix, strncmp(fname...
1 parent
afa90f0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
mailbox/mailbox.c
mailbox/mailbox.c
View file @
37cd336
...
...
@@ -53,7 +53,7 @@ mailbox_folder_create (mu_folder_t *pfolder, const char *name)
return
ENOMEM
;
p
=
strrchr
(
fname
,
'/'
);
/* FIXME: Is this always appropriate? */
if
(
p
&&
!
(
mu_is_proto
(
fname
)
&&
strncmp
(
p
,
"file:"
,
5
)))
if
(
p
&&
!
(
mu_is_proto
(
fname
)
&&
strncmp
(
fname
,
"file:"
,
5
)))
*
p
=
0
;
rc
=
mu_folder_create
(
pfolder
,
fname
);
free
(
fname
);
...
...
Please
register
or
sign in
to post a comment