From a2236fffa265342454430000a7ff0d710807ebb9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期四, 30 九月 2021 13:35:38 +0800
Subject: [PATCH] SendReply use BHFree
---
src/socket/shm_socket.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/socket/shm_socket.h b/src/socket/shm_socket.h
index 2b50a11..a900e4e 100644
--- a/src/socket/shm_socket.h
+++ b/src/socket/shm_socket.h
@@ -23,7 +23,7 @@
size_t size;
void * buf;
- char uuid[64];
+ char uuid[1];
int action;
} shm_packet_t;
@@ -34,7 +34,6 @@
typedef struct shm_socket_t {
shm_socket_type_t socket_type;
int key;
- char proc_id[MAX_STR_LEN];
bool force_bind;
pthread_mutex_t mutex;
@@ -62,7 +61,6 @@
int shm_socket_force_bind(shm_socket_t * socket, int key) ;
-int shm_socket_bind_proc_id(shm_socket_t *sockt, const char *buf, int len);
/**
* @flags : BUS_NOWAIT_FLAG
*/
--
Gitblit v1.8.0