make it compile with -ansi -pedantic

This commit is contained in:
konstantin@mysql.com 2005-01-11 13:12:52 +03:00
parent 28f5a019c1
commit 876a96cd02

View file

@ -251,7 +251,7 @@ my_bool
my_net_write(NET *net,const char *packet,ulong len)
{
uchar buff[NET_HEADER_SIZE];
if (unlikely(!net->vio)) // nowhere to write
if (unlikely(!net->vio)) /* nowhere to write */
return 0;
/*
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH