Viktor Szakáts wrote:
Aha, it does work when built with --with-inet, great.

Previously, without it, I've also got this:

Application Memory Allocation Report - ...\harbour\contrib\examples\uhttpd\uhttpd.exe
Terminated at: 2009.01.26 23:53:18
Total memory allocated: 281977 bytes (3813 block(s))
Warning, memory allocated but not released: 132 bytes (3 block(s))
Block 1 00CE51B8 (size 40) SOCKET_ACCEPT(0), "707C0D0170860D0180D2500001000100000000000F000000802C0D014F4752455353000000000000" Block 2 010D7C70 (size 40) SOCKET_GETPEERNAME(0), "70860D01B851CE0080D250000100010000000000C8FFCE00588A0D010000000058D7B800084CCE00" Block 3 010D8670 (size 40) SOCKET_GETSOCKNAME(0), "B851CE00707C0D0180D250000100010000000000C8FFCE00F08B0D010000000058D7B800084CCE00"
------------------------------------------------------------------------

Line:
      hb_itemParamStoreForward( 2, hb_itemPutSockaddr( NULL, &saddr ) );
should be replaced by:
   PHB_ITEM          pItem;
      ...
      pItem = hb_itemPutSockaddr( NULL, &saddr );
      hb_itemParamStoreForward( 2, pItem );
      hb_itemRelease( pItem );


Best regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to