| Server IP : 82.208.35.60 / Your IP : 216.73.216.236 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/dhttpd/files/ |
Upload File : |
--- src/socket.cc.orig Mon Jun 24 15:12:40 2002
+++ src/socket.cc Mon Jun 24 15:13:03 2002
@@ -17,6 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <sys/types.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
@@ -24,7 +25,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>
@@ -149,7 +149,7 @@
do
{
cSidLen = sizeof( cSid );
- s = accept( sock, &cSid, &cSidLen );
+ s = accept( sock, &cSid, (socklen_t *) &cSidLen );
}
while( s==-1 );