Skip to content

Commit

Permalink
Merge pull request #61 from openziti/fix-native-build
Browse files Browse the repository at this point in the history
remove tls and controller fields
  • Loading branch information
dovholuknf committed Oct 5, 2023
2 parents 4c63a2e + 1ca3696 commit 62b0135
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ZitiNativeApiForDotnetCore/library/ziti4dotnet.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdarg.h>
#include <time.h>

#include <ziti/ziti.h>
#include <uv.h>
Expand Down Expand Up @@ -84,7 +85,7 @@ char* ziti_context_event_err(const ziti_event_t *e) {
return NULL;
}
}
int ziti_context_event_status(const ziti_event_t* e) {
const char* ziti_context_event_status(const ziti_event_t* e) {
if (e) {
return e->event.ctx.err;
}
Expand Down Expand Up @@ -414,9 +415,6 @@ ziti_types_t* z4d_struct_test() {
BYTEALIGNCHECK(ziti_port_range);

rtn->ziti_options.config = "config";
rtn->ziti_options.controller = "controller";
rtn->ziti_options.tls = NULL;
SUBOFFSET(ziti_options, tls);
rtn->ziti_options.disabled = true;
SUBOFFSET(ziti_options, disabled);
char** cfgs = calloc(sizeof(char*), 2);
Expand Down

0 comments on commit 62b0135

Please sign in to comment.