mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 13:54:38 +02:00
Add missing return statements to examples
This commit is contained in:
committed by
Mohammad Nejati
parent
1fc5512b92
commit
a7bf3760a5
@@ -290,7 +290,7 @@ private:
|
||||
return;
|
||||
|
||||
if(ec)
|
||||
fail(ec, "read");
|
||||
return fail(ec, "read");
|
||||
|
||||
// Echo the message
|
||||
ws_.text(ws_.got_text());
|
||||
|
@@ -151,7 +151,7 @@ public:
|
||||
return;
|
||||
|
||||
if(ec)
|
||||
fail(ec, "read");
|
||||
return fail(ec, "read");
|
||||
|
||||
// Echo the message
|
||||
ws_.text(ws_.got_text());
|
||||
|
@@ -210,7 +210,7 @@ public:
|
||||
return;
|
||||
|
||||
if(ec)
|
||||
fail(ec, "read");
|
||||
return fail(ec, "read");
|
||||
|
||||
// Echo the message
|
||||
ws_.text(ws_.got_text());
|
||||
|
@@ -146,7 +146,7 @@ public:
|
||||
return;
|
||||
}
|
||||
if(ec)
|
||||
fail(ec, "read");
|
||||
return fail(ec, "read");
|
||||
|
||||
// Echo the message
|
||||
ws_.text(ws_.got_text());
|
||||
|
@@ -123,7 +123,7 @@ public:
|
||||
return;
|
||||
}
|
||||
if(ec)
|
||||
fail(ec, "read");
|
||||
return fail(ec, "read");
|
||||
|
||||
// Echo the message
|
||||
ws_.text(ws_.got_text());
|
||||
|
Reference in New Issue
Block a user