From 2e1afff475181677a3dd38ab6e6d5632f8a70590 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 27 七月 2020 10:55:10 +0800
Subject: [PATCH] udpate

---
 demo/dgram_mod_survey.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/demo/dgram_mod_survey.c b/demo/dgram_mod_survey.c
index c98ec92..a462fef 100644
--- a/demo/dgram_mod_survey.c
+++ b/demo/dgram_mod_survey.c
@@ -7,7 +7,7 @@
 #include "usg_common.h"
 
 void server(int port) {
-  void *socket = dgram_mod_open_socket(SURVEY);
+  void *socket = dgram_mod_open_socket();
   dgram_mod_bind(socket, port);
   int size;
   void *recvbuf;
@@ -22,7 +22,7 @@
 }
 
 void client(int port) {
-  void *socket = dgram_mod_open_socket(SURVEY);
+  void *socket = dgram_mod_open_socket();
   int size;
   void *recvbuf;
   char sendbuf[512];

--
Gitblit v1.8.0