diff options
author | lenz@kallisto.local <> | 2003-09-24 08:35:02 +0200 |
---|---|---|
committer | lenz@kallisto.local <> | 2003-09-24 08:35:02 +0200 |
commit | 5ce5a68b4e520bad314e76645cc2718a5e5af92b (patch) | |
tree | 7a953ea10b82122bdf37cf7efc4cfd3fd9a20b17 /sql/net_serv.cc | |
parent | 0477ad9688de585468076bd9935dd5c616dbc33e (diff) | |
download | mariadb-git-5ce5a68b4e520bad314e76645cc2718a5e5af92b.tar.gz |
- Code cleanup: replaced C++-style comments with the proper syntax for
.c files (the IBM Visual Age C compiler aborts with a syntax error
on these)
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r-- | sql/net_serv.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index d39fca595ac..eac197e530b 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -460,7 +460,7 @@ net_real_write(NET *net,const char *packet,ulong len) #ifdef MYSQL_SERVER net->last_errno= ER_OUT_OF_RESOURCES; net->error= 2; - //TODO is it needed to set this variable if we have no socket + /* TODO is it needed to set this variable if we have no socket */ net->report_error= 1; #endif net->reading_or_writing= 0; @@ -889,7 +889,7 @@ my_net_read(NET *net) if (net->remain_in_buf) { - buf_length= net->buf_length; // Data left in old packet + buf_length= net->buf_length; /* Data left in old packet */ first_packet_offset= start_of_packet= (net->buf_length - net->remain_in_buf); /* Restore the character that was overwritten by the end 0 */ |