Skip to content

Commit

Permalink
nats: init global variables
Browse files Browse the repository at this point in the history
(cherry picked from commit 619ff95)
  • Loading branch information
miconda committed Jan 6, 2023
1 parent 85c7085 commit 373c53e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/nats/nats_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ nats_consumer_worker_t *nats_workers = NULL;
nats_pub_worker_t *nats_pub_workers = NULL;
int nats_pub_workers_num = DEFAULT_NUM_PUB_WORKERS;

int _nats_proc_count;
static int _nats_proc_count = 0;
char *eventData = NULL;

int *nats_pub_worker_pipes_fds = NULL;
int *nats_pub_worker_pipes = NULL;
static str nats_event_callback = STR_NULL;

static nats_evroutes_t _nats_rts;
static nats_evroutes_t _nats_rts = {0};

static pv_export_t nats_mod_pvs[] = {
{{"natsData", (sizeof("natsData") - 1)}, PVT_OTHER,
Expand Down

0 comments on commit 373c53e

Please sign in to comment.