Skip to content

Commit 6a422d2

Browse files
author
Artiom N.
committed
Redundant recv_data() removed from OOB example
1 parent 7ab4abf commit 6a422d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/book01/ch06/cpp/oob_select/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ int main(int argc, const char *const argv[])
123123
if (EINVAL == sock_wrap.get_last_error_code())
124124
{
125125
std::cout << "EINVAL - this is not OOB" << std::endl;
126-
recv_data(sock_wrap, client_sock, data_buff);
127126
continue;
128127
}
129128
throw std::system_error(

0 commit comments

Comments
 (0)