Add CI autotest and Fix compile warning
This commit is contained in:
@@ -84,7 +84,7 @@ extern "C" void custom_event_plugin_tcp_entry(const struct stellar_session *sess
|
||||
if (*per_tcp_session_pme == NULL)
|
||||
{
|
||||
struct tcp_session_pme *cur_ctx = tcp_session_pme_create();
|
||||
snprintf(cur_ctx->data, 6, "tcp******");
|
||||
memcpy(cur_ctx->data, "custom_event_plugin_tcp_entry", strlen("custom_event_plugin_tcp_entry"));
|
||||
*per_tcp_session_pme = *&cur_ctx;
|
||||
}
|
||||
}
|
||||
@@ -115,7 +115,7 @@ extern "C" void custom_event_plugin_custom_entry(const struct stellar_session *s
|
||||
if (*per_custom_session_pme == NULL)
|
||||
{
|
||||
struct custom_session_pme *cur_ctx = custom_session_pme_create();
|
||||
snprintf(cur_ctx->data, 6, "custom******");
|
||||
memcpy(cur_ctx->data, "custom_event_plugin_custom_entry", strlen("custom_event_plugin_custom_entry"));
|
||||
*per_custom_session_pme = *&cur_ctx;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user