fixed sun pro warning

This commit is contained in:
Jeff Hill
2001-03-07 18:03:31 +00:00
parent b58f4df8df
commit 70392bfc21
+4 -2
View File
@@ -497,8 +497,10 @@ void udpiiu::shutdown ()
bool udpiiu::badUDPRespAction ( const caHdr &msg, const osiSockAddr &netAddr )
{
ca_printf ( "CAC: undecipherable ( bad msg code %u ) UDP message\n",
msg.m_cmmd );
char buf[64];
sockAddrToDottedIP ( &netAddr.sa, buf, sizeof ( buf ) );
ca_printf ( "CAC: undecipherable ( bad msg code %u ) UDP message from %s\n",
msg.m_cmmd, buf );
return false;
}