From 68d23225a38a35f1325eb39fa4ed5a005d5de473 Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@aiot.com>
Date: 星期三, 11 八月 2021 09:50:20 +0800
Subject: [PATCH] fix from 3.1 first commit

---
 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