summaryrefslogtreecommitdiff
path: root/decoders/http/http_decoder_utils.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-08-16 14:58:19 +0800
committerlijia <[email protected]>2024-08-16 16:05:57 +0800
commit5ccd3bc23cf46a11ada14eab3e0b0a354733da59 (patch)
tree140a676f27ca516916fdd78eb1a0f07d8c59dac8 /decoders/http/http_decoder_utils.cpp
parenta59eca7685e126226d5c2b4679a2a90711cc5875 (diff)
Adjust benchmark directory,enable HTTP test,rename variables,format codesdev-integration-http
Diffstat (limited to 'decoders/http/http_decoder_utils.cpp')
-rw-r--r--decoders/http/http_decoder_utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/decoders/http/http_decoder_utils.cpp b/decoders/http/http_decoder_utils.cpp
index 93fef81..181d592 100644
--- a/decoders/http/http_decoder_utils.cpp
+++ b/decoders/http/http_decoder_utils.cpp
@@ -1,7 +1,7 @@
#include <string.h>
#include <assert.h>
#include "stellar/http.h"
-#include "http_decoder_inc.h"
+#include "http_decoder_private.h"
char *safe_dup(const char *str, size_t len)
{
@@ -164,7 +164,8 @@ int http_event_is_req(enum http_event event)
return -1;
}
-int stellar_session_mq_get_topic_id_reliable(struct stellar *st, const char *topic_name, stellar_msg_free_cb_func *msg_free_cb, void *msg_free_arg)
+int stellar_session_mq_get_topic_id_reliable(struct stellar *st, const char *topic_name,
+ stellar_msg_free_cb_func *msg_free_cb, void *msg_free_arg)
{
int topic_id = stellar_mq_get_topic_id(st, topic_name);
if (topic_id < 0)