Commit 56301330 56301330445a52ec4c39fb6d75d1ef68f3f58f61 by Alain Magloire

Little bugglet should be htons(port) instead htonl(port) it was

so obvious that it took me 2 hours to find, sigh ...
1 parent 0b3ced06
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -306,7 +306,7 @@ pop3_daemon (unsigned int maxchildren)
memset (&server, 0, size);
server.sin_family = AF_INET;
server.sin_addr.s_addr = htonl (INADDR_ANY);
server.sin_port = htonl (port);
server.sin_port = htons (port);
if (bind(listenfd, (SA *) &server, size) == -1 )
{
......