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
934b7717
...
934b771789c96973a9dcbd9948f158c4caf6bbc2
authored
2006-01-25 14:11:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update invocations of mu_registrar_lookup
1 parent
f2fba5d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
mailbox/folder.c
mailbox/mailer.c
mailbox/mbox/folder.c
mailbox/folder.c
View file @
934b771
...
...
@@ -61,7 +61,8 @@ mu_folder_create (mu_folder_t *pfolder, const char *name)
/* Look in the registrar list(iterator), for a possible concrete mailbox
implementation that could match the URL. */
if
(
mu_registrar_lookup
(
name
,
&
record
,
MU_FOLDER_ATTRIBUTE_DIRECTORY
))
if
(
mu_registrar_lookup
(
name
,
MU_FOLDER_ATTRIBUTE_DIRECTORY
,
&
record
,
NULL
)
==
0
)
{
int
(
*
f_init
)
(
mu_folder_t
)
=
NULL
;
int
(
*
u_init
)
(
mu_url_t
)
=
NULL
;
...
...
mailbox/mailer.c
View file @
934b771
...
...
@@ -90,7 +90,7 @@ mu_mailer_create (mu_mailer_t * pmailer, const char *name)
if
(
name
==
NULL
)
mu_mailer_get_url_default
(
&
name
);
if
(
mu_registrar_lookup
(
name
,
&
record
,
MU_FOLDER_ATTRIBUTE_FILE
)
)
if
(
mu_registrar_lookup
(
name
,
MU_FOLDER_ATTRIBUTE_FILE
,
&
record
,
NULL
)
==
0
)
{
int
(
*
m_init
)
(
mu_mailer_t
)
=
NULL
;
int
(
*
u_init
)
(
mu_url_t
)
=
NULL
;
...
...
mailbox/mbox/folder.c
View file @
934b771
...
...
@@ -333,10 +333,9 @@ list_helper (struct search_data *data,
if
(
stat
(
gl
.
gl_pathv
[
i
],
&
st
)
==
0
)
{
mu_record_t
record
;
resp
->
type
=
mu_registrar_lookup
(
gl
.
gl_pathv
[
i
],
&
record
,
MU_FOLDER_ATTRIBUTE_ALL
);
resp
->
type
=
0
;
mu_registrar_lookup
(
gl
.
gl_pathv
[
i
],
MU_FOLDER_ATTRIBUTE_ALL
,
NULL
,
&
resp
->
type
);
if
((
resp
->
type
&
MU_FOLDER_ATTRIBUTE_DIRECTORY
)
&&
!
inode_list_lookup
(
ilist
,
&
st
))
{
...
...
Please
register
or
sign in
to post a comment