Skip to content

Commit 87aecd1

Browse files
authored
Merge pull request #737 from Netflix/dev
Merge dev into v0.6
2 parents dfd5190 + b394564 commit 87aecd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dyn_response_mgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ rstatus_t init_response_mgr_all_dcs(struct context *ctx, struct msg *req,
2424
// Initialize the response managers for all remote DCs. (The 0th idx in the
2525
// 'additional_each_rspmgrs' array is reserved for the local DC).
2626
int i;
27+
uint32_t dc_idx = 0;
2728
for (i = 1; i < num_dcs_in_quorum; ++i) {
2829
req->additional_each_rspmgrs[i] = (struct rspmgr*) dn_alloc(sizeof(struct response_mgr));
2930
if (req->additional_each_rspmgrs[i] == NULL) {
3031
goto enomem;
3132
}
3233

33-
uint32_t dc_idx = 0;
3434
struct datacenter *remote_dc = NULL;
3535
do {
3636
remote_dc = (struct datacenter*) array_get(&ctx->pool.datacenters, dc_idx);

0 commit comments

Comments
 (0)