-const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.10 2001/06/29 13:29:15 oes Exp $";
+const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.11 2001/06/29 21:45:41 oes Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
*
* Revisions :
* $Log: jbsockets.c,v $
+ * Revision 1.11 2001/06/29 21:45:41 oes
+ * Indentation, CRLF->LF, Tab-> Space
+ *
* Revision 1.10 2001/06/29 13:29:15 oes
* - Added remote (server) host IP to csp->http->host_ip_addr_str
* - Added detection of local socket IP and fqdn
struct sockaddr_in *lap = (struct sockaddr_in *) &laddr;
struct hostent *host = NULL;
int afd, raddrlen, laddrlen;
- extern int h_errno;
char *p;
raddrlen = sizeof raddr;
host = gethostbyaddr(laddr.sa_data + 2, 4, AF_INET);
if (host == NULL)
{
- log_error(LOG_LEVEL_ERROR, "Unable to get my own hostname: %s\n", hstrerror(h_errno));
+ log_error(LOG_LEVEL_ERROR, "Unable to get my own hostname: %E\n");
}
else
{