summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-01-11 13:12:52 +0300
committerunknown <konstantin@mysql.com>2005-01-11 13:12:52 +0300
commitfe8c6a4a032195ae024cf4a8ede675299789a79b (patch)
tree64a659171350a0ab4be33e10e4281b517d508f98 /sql/net_serv.cc
parenteae30642cde74965e5f81dca61bd4448a1d889f6 (diff)
downloadmariadb-git-fe8c6a4a032195ae024cf4a8ede675299789a79b.tar.gz
make it compile with -ansi -pedantic
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index ca82c49b62d..5699b5a2f55 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -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