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
1c8bb2b5
...
1c8bb2b5d58a82be7265bf53176677dc4e4fcd46
authored
2003-12-28 22:13:50 +0000
by
uid65697
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed first argument to socket()
1 parent
c5b57b85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
imap4d/imap4d.c
mailbox/tcp.c
pop3d/pop3d.c
imap4d/imap4d.c
View file @
1c8bb2b
...
...
@@ -310,7 +310,7 @@ imap4d_daemon (unsigned int maxchildren, unsigned int port)
int
listenfd
,
connfd
;
size_t
size
;
listenfd
=
socket
(
A
F_INET
,
SOCK_STREAM
,
0
);
listenfd
=
socket
(
P
F_INET
,
SOCK_STREAM
,
0
);
if
(
listenfd
==
-
1
)
{
syslog
(
LOG_ERR
,
"socket: %s"
,
strerror
(
errno
));
...
...
mailbox/tcp.c
View file @
1c8bb2b
...
...
@@ -87,7 +87,7 @@ _tcp_open (stream_t stream)
case
TCP_STATE_INIT
:
if
(
tcp
->
fd
==
-
1
)
{
if
((
tcp
->
fd
=
socket
(
A
F_INET
,
SOCK_STREAM
,
0
))
==
-
1
)
if
((
tcp
->
fd
=
socket
(
P
F_INET
,
SOCK_STREAM
,
0
))
==
-
1
)
return
errno
;
}
if
(
flags
&
MU_STREAM_NONBLOCK
)
...
...
pop3d/pop3d.c
View file @
1c8bb2b
...
...
@@ -466,7 +466,7 @@ pop3d_daemon (unsigned int maxchildren, unsigned int port)
int
listenfd
,
connfd
;
size_t
size
;
listenfd
=
socket
(
A
F_INET
,
SOCK_STREAM
,
0
);
listenfd
=
socket
(
P
F_INET
,
SOCK_STREAM
,
0
);
if
(
listenfd
==
-
1
)
{
syslog
(
LOG_ERR
,
"socket: %s"
,
strerror
(
errno
));
...
...
Please
register
or
sign in
to post a comment