From 5f246a2c098b663fa44d87bc5c9ac5c8f74bbcc1 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 26 二月 2021 14:04:39 +0800 Subject: [PATCH] update --- test_net_socket/shm_util.cpp | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/test_net_socket/shm_util.cpp b/test_net_socket/shm_util.cpp index 549e29f..4eb03f8 100644 --- a/test_net_socket/shm_util.cpp +++ b/test_net_socket/shm_util.cpp @@ -44,7 +44,7 @@ pthread_detach(pthread_self()); char action[512]; - while ( true) { + while ( true ) { printf("Input action: Close?\n"); if(scanf("%s",action) < 1) { printf("Invalide action\n"); @@ -881,7 +881,6 @@ opt = parse_args(argc, argv); if(opt.bind == 0) { usage(argv[0]); - exit(1); } else { start_recvfrom(opt.bind, opt.force); } -- Gitblit v1.8.0