From 8b89e81b09adbb06f6e5e64aa115a1eef6e75b57 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 30 十一月 2020 11:10:15 +0800
Subject: [PATCH] update

---
 test_socket/stream_mod_pub_sub.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test_socket/stream_mod_pub_sub.c b/test_socket/stream_mod_pub_sub.c
index 78aff69..10e0ef1 100644
--- a/test_socket/stream_mod_pub_sub.c
+++ b/test_socket/stream_mod_pub_sub.c
@@ -1,5 +1,5 @@
 #include "mod_socket.h"
-#include "shm_mm.h"
+#include "shm_mm_wraper.h"
 #include "usg_common.h"
 
 
@@ -35,7 +35,7 @@
 }
 
 int main(int argc, char *argv[]) {
-  shm_init(512);
+  shm_mm_wrapper_init(512);
   int port;
   if (argc < 3) {
   	 fprintf(stderr, "Usage: reqrep %s|%s <PORT> ...\n", "server", "client");
@@ -51,7 +51,7 @@
   if (strcmp("client", argv[1]) == 0)
      client(port);
    
- shm_destroy();
+ shm_mm_wrapper_destroy();
  // fprintf(stderr, "Usage: reqrep %s|%s <URL> ...\n", "server", "client");
   return 0;
 }
\ No newline at end of file

--
Gitblit v1.8.0