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
42b9a1b3
...
42b9a1b31ff0ab91f5c861bebbbddf34bbcad50a
authored
2005-06-23 13:24:02 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_global_profile_get): Changed prototype.
1 parent
55475517
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
mh/mh.h
mh/mh_global.c
mh/mh.h
View file @
42b9a1b
...
...
@@ -236,7 +236,7 @@ message_t mh_file_to_message (char *folder, char *file_name);
message_t
mh_stream_to_message
(
stream_t
stream
);
void
mh_install
__P
((
char
*
name
,
int
automode
));
char
*
mh_global_profile_get
__P
((
char
*
name
,
char
*
defval
));
char
*
mh_global_profile_get
__P
((
char
*
name
,
c
onst
c
har
*
defval
));
int
mh_global_profile_set
__P
((
const
char
*
name
,
const
char
*
value
));
char
*
mh_global_context_get
__P
((
const
char
*
name
,
const
char
*
defval
));
int
mh_global_context_set
__P
((
const
char
*
name
,
const
char
*
value
));
...
...
mh/mh_global.c
View file @
42b9a1b
...
...
@@ -31,7 +31,7 @@ int mh_auto_install = 1;
/* Global profile */
char
*
mh_global_profile_get
(
char
*
name
,
char
*
defval
)
mh_global_profile_get
(
char
*
name
,
c
onst
c
har
*
defval
)
{
return
mh_context_get_value
(
profile
,
name
,
defval
);
}
...
...
@@ -86,7 +86,7 @@ _mh_init_global_context ()
if
(
context
)
return
;
mu_
path_folder_dir
=
mh_get_dir
(
);
mu_
set_folder_directory
(
mh_get_dir
()
);
p
=
getenv
(
"CONTEXT"
);
if
(
!
p
)
p
=
MH_CONTEXT_FILE
;
...
...
Please
register
or
sign in
to post a comment