File ehs-1.3.1.patch of Package ehs
--- ehs-1.3.1/Makefile.in.orig 2008-07-24 20:18:45.000000000 +0200
+++ ehs-1.3.1/Makefile.in 2008-07-24 20:18:58.000000000 +0200
@@ -147,7 +147,7 @@
httpresponse.lo httprequest.lo
libehs_la_OBJECTS = $(am_libehs_la_OBJECTS)
noinst_PROGRAMS = ehs_formtest$(EXEEXT) ehs_test$(EXEEXT) \
- ehs_testharness$(EXEEXT) ehs_uploader$(EXEEXT) \
+ ehs_testharness$(EXEEXT) \
ehs_simple$(EXEEXT) ehs_mirror$(EXEEXT) ehs_https$(EXEEXT)
PROGRAMS = $(noinst_PROGRAMS)
--- ehs-1.3.1/socket.cpp.orig 2008-07-24 20:17:44.000000000 +0200
+++ ehs-1.3.1/socket.cpp 2008-07-24 20:18:32.000000000 +0200
@@ -236,7 +236,8 @@
NetworkAbstraction * Socket::Accept ( )
{
- size_t oInternetSocketAddressLength = sizeof ( oInternetSocketAddress );
+ //size_t oInternetSocketAddressLength = sizeof ( oInternetSocketAddress );
+ socklen_t oInternetSocketAddressLength = sizeof ( oInternetSocketAddress );
int nNewFd = accept ( nAcceptSocket,
(sockaddr *) &oInternetSocketAddress,
#ifdef _WIN32