summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authoruid65697 <uid65697>2003-12-28 22:13:50 +0000
committeruid65697 <uid65697>2003-12-28 22:13:50 +0000
commit1c8bb2b5d58a82be7265bf53176677dc4e4fcd46 (patch)
tree2811b346d1e437aacab5826dcf9b63fc5ad87259 /pop3d
parentc5b57b857207cbe4bb2e86b47753deb6a4d98c61 (diff)
downloadmailutils-1c8bb2b5d58a82be7265bf53176677dc4e4fcd46.tar.gz
mailutils-1c8bb2b5d58a82be7265bf53176677dc4e4fcd46.tar.bz2
Fixed first argument to socket()
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/pop3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3d/pop3d.c b/pop3d/pop3d.c
index cded4c042..8bebc75fa 100644
--- a/pop3d/pop3d.c
+++ b/pop3d/pop3d.c
@@ -466,7 +466,7 @@ pop3d_daemon (unsigned int maxchildren, unsigned int port)
int listenfd, connfd;
size_t size;
- listenfd = socket (AF_INET, SOCK_STREAM, 0);
+ listenfd = socket (PF_INET, SOCK_STREAM, 0);
if (listenfd == -1)
{
syslog (LOG_ERR, "socket: %s", strerror(errno));

Return to:

Send suggestions and report system problems to the System administrator.