fixed totalbuf->rcvbuf bug