mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 14:24:31 +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;
|
return;
|
||||||
|
|
||||||
if(ec)
|
if(ec)
|
||||||
fail(ec, "read");
|
return fail(ec, "read");
|
||||||
|
|
||||||
// Echo the message
|
// Echo the message
|
||||||
ws_.text(ws_.got_text());
|
ws_.text(ws_.got_text());
|
||||||
|
@@ -151,7 +151,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if(ec)
|
if(ec)
|
||||||
fail(ec, "read");
|
return fail(ec, "read");
|
||||||
|
|
||||||
// Echo the message
|
// Echo the message
|
||||||
ws_.text(ws_.got_text());
|
ws_.text(ws_.got_text());
|
||||||
|
@@ -210,7 +210,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if(ec)
|
if(ec)
|
||||||
fail(ec, "read");
|
return fail(ec, "read");
|
||||||
|
|
||||||
// Echo the message
|
// Echo the message
|
||||||
ws_.text(ws_.got_text());
|
ws_.text(ws_.got_text());
|
||||||
|
@@ -146,7 +146,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(ec)
|
if(ec)
|
||||||
fail(ec, "read");
|
return fail(ec, "read");
|
||||||
|
|
||||||
// Echo the message
|
// Echo the message
|
||||||
ws_.text(ws_.got_text());
|
ws_.text(ws_.got_text());
|
||||||
|
@@ -123,7 +123,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(ec)
|
if(ec)
|
||||||
fail(ec, "read");
|
return fail(ec, "read");
|
||||||
|
|
||||||
// Echo the message
|
// Echo the message
|
||||||
ws_.text(ws_.got_text());
|
ws_.text(ws_.got_text());
|
||||||
|
Reference in New Issue
Block a user