couchbase/couchbase-lite-net — pull request #357 by gmanny (2014-11-22 19:02:00+00:00)
Title: Fixed NRE in bulk downloader.

Hi, I've fixed what I understand to be a bug in BulkDownloader.

You can see how in the first removed line you've requested the `response.StatusCode` while in the second line there is a condition `response == null` making the first line prone to NREs. (And I've got this NRE while running the replication when the server refuses connection.)