client: fix missing init of 'i'

Signed-off-by: Jens Axboe <axboe@fb.com>