make it compile with -ansi -pedantic
This commit is contained in:
parent
eae30642cd
commit
fe8c6a4a03
@ -251,7 +251,7 @@ my_bool
|
|||||||
my_net_write(NET *net,const char *packet,ulong len)
|
my_net_write(NET *net,const char *packet,ulong len)
|
||||||
{
|
{
|
||||||
uchar buff[NET_HEADER_SIZE];
|
uchar buff[NET_HEADER_SIZE];
|
||||||
if (unlikely(!net->vio)) // nowhere to write
|
if (unlikely(!net->vio)) /* nowhere to write */
|
||||||
return 0;
|
return 0;
|
||||||
/*
|
/*
|
||||||
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH
|
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user