Skip to content

Commit

Permalink
Merge pull request #737 from Netflix/dev
Browse files Browse the repository at this point in the history
Merge dev into v0.6
  • Loading branch information
smukil committed Oct 31, 2019
2 parents dfd5190 + b394564 commit 87aecd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dyn_response_mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ rstatus_t init_response_mgr_all_dcs(struct context *ctx, struct msg *req,
// Initialize the response managers for all remote DCs. (The 0th idx in the
// 'additional_each_rspmgrs' array is reserved for the local DC).
int i;
uint32_t dc_idx = 0;
for (i = 1; i < num_dcs_in_quorum; ++i) {
req->additional_each_rspmgrs[i] = (struct rspmgr*) dn_alloc(sizeof(struct response_mgr));
if (req->additional_each_rspmgrs[i] == NULL) {
goto enomem;
}

uint32_t dc_idx = 0;
struct datacenter *remote_dc = NULL;
do {
remote_dc = (struct datacenter*) array_get(&ctx->pool.datacenters, dc_idx);
Expand Down

0 comments on commit 87aecd1

Please sign in to comment.