Changed all "old-style" debug calls to new dbg calls.

FossilOrigin-Name: 2e98f08a020add71cecfd7d1902ba88cc5a5a48daf9574e85974674c9a6412cc
This commit is contained in:
7u83@mail.ru
2015-02-07 10:51:29 +00:00
parent e74e8bbf89
commit d5b690213e
17 changed files with 37 additions and 31 deletions

View File

@ -29,14 +29,14 @@
int conn_send_packet(struct conn * conn, const uint8_t * buffer, int len)
{
/*
#ifdef WITH_CW_LOG_DEBUG
char addrstr[64];
sock_addrtostr((struct sockaddr*)&conn->addr,addrstr,64);
cw_log_debug1("Sending packet to %s, len=%d",addrstr,len);
cw_log_debug2_dump(buffer,len,"Packet data for packet, sent to %s",addrstr);
#endif
*/
int n;
while((n=sendto( conn->sock, buffer, len, 0,
(struct sockaddr*)&conn->addr,