From 658e74cc759db6fb6d51d5287749cff1cfd2a0a2 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期六, 04 九月 2021 10:48:31 +0800 Subject: [PATCH] Add strict parameters checks to avoid the invalid inputs. --- test_socket/bus_test.cpp | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/test_socket/bus_test.cpp b/test_socket/bus_test.cpp index 8d630b6..d2ead68 100644 --- a/test_socket/bus_test.cpp +++ b/test_socket/bus_test.cpp @@ -63,7 +63,6 @@ char content[512]; long i = 0; - pthread_create(&tid, NULL, run_recv, (void *)sk); while (true) { @@ -136,4 +135,4 @@ return 0; -} \ No newline at end of file +} -- Gitblit v1.8.0