Skip to content

Commit

Permalink
fix: change go empty json string to null.
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Dec 8, 2023
1 parent 4ac3312 commit 5683e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_cpp_wrapper/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 5683e33

Please sign in to comment.