moved code from here to libCom

This commit is contained in:
Jeff Hill
1998-06-16 00:56:03 +00:00
parent ca1f46765a
commit 0f45593c6d

View File

@@ -29,6 +29,9 @@
* Modification Log:
* -----------------
* $Log$
* Revision 1.37 1998/05/08 00:20:56 jhill
* added missing call to freeListCleanup()
*
* Revision 1.36 1998/05/05 16:07:59 jhill
* Use lock macros and task variable in ca_extra_event_labor()
*
@@ -668,29 +671,6 @@ char *localUserName()
return pTmp;
}
/*
* caHostFromInetAddr()
*/
void caHostFromInetAddr(
const struct in_addr *pnet_addr,
char *pBuf,
unsigned size)
{
char str[INET_ADDR_LEN];
inet_ntoa_b(*pnet_addr, str);
/*
* force null termination
*/
strncpy(pBuf, str, size-1);
pBuf[size-1] = '\0';
return;
}
/*
* event_import()
*/