One-line debugging patch.

Angus Wood <[email protected]> Thu, 15 Apr 2004 15:24:27 +0100
Newsgroups gmane.comp.apache.mod-backhand.general
Organization IBN
Message-ID <[email protected]>
Hi,

After wrestling with my Backhand (CVS version) setup all morning, then 
realising my desktop machine was swapping between two IPs due to DHCP, this 
one-line change to back_util.c provided the information to track down the 
problem.

Cheers,
	_Gus


*** back_util.c.orig    2004-04-15 14:01:14.000000000 +0100
--- back_util.c 2004-04-15 14:01:32.000000000 +0100
***************
*** 111,117 ****
      nsd=-1;
      if(errno == EINTR) {
        ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
!                    "connect() timed out");
        close(nsd);
        nsd=-1;
      }
--- 111,117 ----
      nsd=-1;
      if(errno == EINTR) {
        ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
!                    "connect() to [%s] timed out",inet_ntoa(sain.sin_addr)) 
;
        close(nsd);
        nsd=-1;
      }


-- 
Angus M Wood
Chief Architect
Inspired Broadcast Networks
www.inspiredbroadcast.net
Out of Home Pay to Play Networked Entertainment
1st Floor, 1 ­ 7 Livonia Street, London, W1F 8AD
Tel: +44 20 7287 5813
Mob: +44 7767 393039
Fax: +44 20 7287 0131