From 5683e33db1b2206567c4de45a9b3baa7d7803772 Mon Sep 17 00:00:00 2001 From: Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:43:49 +0800 Subject: [PATCH] fix: change go empty json string to null. --- c_cpp_wrapper/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_cpp_wrapper/protocol.go b/c_cpp_wrapper/protocol.go index 9b5b065..ffc6c03 100644 --- a/c_cpp_wrapper/protocol.go +++ b/c_cpp_wrapper/protocol.go @@ -49,7 +49,7 @@ void Call_CB_S_I_S_S(CB_S_I_S_S func,char* operationID, int errCode,char* errMsg func(operationID,errCode,errMsg,data); if (errMsg != NULL && errMsg[0] != '\0') { - printf("this is not null errmsg\n"); + printf("this is not null errmsg %s\n",errMsg); free(errMsg); } if (data != NULL && data[0] != '\0')