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
ba44e0fd
...
ba44e0fd197e71f4c9aac07c672fee9efb602ecc
authored
2002-11-04 17:35:01 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(main): Improved check for debugging mode.
1 parent
295cefef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
imap4d/imap4d.c
pop3d/pop3d.c
imap4d/imap4d.c
View file @
ba44e0f
...
...
@@ -113,7 +113,7 @@ main (int argc, char **argv)
pam_service
=
"gnu-imap4d"
;
#endif
if
(
isatty
(
0
))
if
(
daemon_param
.
mode
==
MODE_INTERACTIVE
&&
isatty
(
0
))
{
/* If input is a tty, switch to debug mode */
debug_mode
=
1
;
...
...
pop3d/pop3d.c
View file @
ba44e0f
...
...
@@ -95,7 +95,7 @@ main (int argc, char **argv)
pam_service
=
(
char
*
)
"gnu-pop3d"
;
#endif
if
(
isatty
(
0
))
if
(
daemon_param
.
mode
==
MODE_INTERACTIVE
&&
isatty
(
0
))
{
/* If input is a tty, switch to debug mode */
debug_mode
=
1
;
...
...
Please
register
or
sign in
to post a comment