Enhancement: Improve error handling in stellar's packet API by checking return values of metadata functions and adding descriptive error logging

This commit is contained in:
luwenpeng
2024-04-22 14:23:45 +08:00
parent bb7d7410c9
commit dd32f0f231
3 changed files with 61 additions and 14 deletions

View File

@@ -1,13 +1,13 @@
#ifndef _GTEST_UTILS_H
#define _GTEST_UTILS_H
#include <gtest/gtest.h>
#ifdef __cplusplus
extern "C"
{
#endif
#include <gtest/gtest.h>
#include "udp_utils.h"
#include "tcp_utils.h"
#include "ipv4_utils.h"