Put the DBUG_DUMP inside ifdef DEBUG_DATA_PACKETS

This commit is contained in:
unknown 2006-12-14 21:48:08 +01:00
parent 266d2ea447
commit 23fbae1f19

View File

@ -597,7 +597,10 @@ net_real_write(NET *net,const char *packet,ulong len)
}
#endif /* HAVE_COMPRESS */
/* DBUG_DUMP("net",packet,len); */
#ifdef DEBUG_DATA_PACKETS
DBUG_DUMP("data",packet,len);
#endif
#ifndef NO_ALARM
thr_alarm_init(&alarmed);
if (net_blocking)