Skip to content

Commit

Permalink
fix cpplint
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcui committed Oct 9, 2024
1 parent 5c67765 commit 39eaf0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions toolkits/lgraph_cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,9 @@ int main(int argc, char** argv) {
// reset connection
ps.Reset();
ps.AppendReset();
asio::write(socket,asio::const_buffer(ps.ConstBuffer().data(), ps.ConstBuffer().size()));
while(true) {
asio::write(socket, asio::const_buffer(
ps.ConstBuffer().data(), ps.ConstBuffer().size()));
while (true) {
auto m = ReadMessage(socket, hydrator);
if (m.type() == typeid(bolt::Success*)) {
break;
Expand Down

0 comments on commit 39eaf0f

Please sign in to comment.