Skip to content

Commit

Permalink
Update xkcp_mon.c
Browse files Browse the repository at this point in the history
  • Loading branch information
liudf0716 authored Apr 21, 2017
1 parent a235091 commit e59299e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xkcp_mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static void get_server_status(struct bufferevent *bev, void *ctx)
struct evbuffer *output = bufferevent_get_output(bev);
for(int i = 0; i < xkcp_hash->buckets; i++) {
jwHashEntry *entry = table->bucket[i];
evbuffer_add_printf(output, "client [%s]: \n", entry->key.strValue);
evbuffer_add_printf(output, "[%d] client [%s]: \n", i, entry->key.strValue);
dump_task_list(entry->value.ptrValue, bev);
}
}
Expand Down

0 comments on commit e59299e

Please sign in to comment.