From bb11cc624ab058fc3a6541f91f37985b8caae9b6 Mon Sep 17 00:00:00 2001
From: jhc <2991879965@qq.com>
Date: 星期五, 01 十一月 2024 15:53:36 +0800
Subject: [PATCH] Merge branch 'master' of ssh://115.28.86.8:29418/~admin/昆仑_1025  Please enter a commit message to explain why this merge is necessary,

---
 Client/姜可庚/code/2024kunlun_project_permisson/PmsClientSocket.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git "a/Client/\345\247\234\345\217\257\345\272\232/code/2024kunlun_project_permisson/PmsClientSocket.h" "b/Client/\345\247\234\345\217\257\345\272\232/code/2024kunlun_project_permisson/PmsClientSocket.h"
index 2795585..0a0e535 100644
--- "a/Client/\345\247\234\345\217\257\345\272\232/code/2024kunlun_project_permisson/PmsClientSocket.h"
+++ "b/Client/\345\247\234\345\217\257\345\272\232/code/2024kunlun_project_permisson/PmsClientSocket.h"
@@ -72,11 +72,12 @@
 typedef struct UserAboutPmsResponse{
     Head head;
     int success; // 1涓烘垚鍔� ,0涓哄け璐�
-    PmsRes  pmsList[100];
+    //PmsRes pmsList[100];
+    char pmsList[0];
     UserAboutPmsResponse(){
         head.type=QUERY_PMS_RES;
-        memset(pmsList,0,sizeof(PmsRes));
-        head.len = sizeof(UserAboutPmsResponse);
+//        memset(pmsList,0,sizeof(PmsRes));
+//        head.len = sizeof(UserAboutPmsResponse);
     }
 } QueryPmsResponse;
 

--
Gitblit v1.8.0