Skip to content

Commit

Permalink
Merge pull request #35 from Zoadian/patch-1
Browse files Browse the repository at this point in the history
Update client.d: replace body with do
  • Loading branch information
tchaloupka authored Sep 19, 2022
2 parents 1f38f83 + 856f32c commit e568cd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/mqttd/client.d
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public:
assert(result, "packet id can't be 0!");
assert(_event);
}
body
do
{
do
{
Expand Down Expand Up @@ -363,7 +363,7 @@ private @safe struct SessionQueue(Flag!"send" send)
}
}
}
body
do
{
while (_packets.full)
{
Expand Down Expand Up @@ -589,7 +589,7 @@ unittest

/// Connects to the specified broker and sends it the Connect packet
void connect() @safe nothrow
body
do
{
import vibe.core.core: runTask;
import vibe.core.net: connectTCP;
Expand Down

0 comments on commit e568cd3

Please sign in to comment.