Reformat the code

Change-Id: I20fea173d8ca6416c3046582362a452b41723a3e
Reviewed-on: http://review.couchbase.org/27565
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>