Fix success determination for response code
Fix success determination for response code

I used the (and) operator which has a lower precedence than the
assignment operator (=), hence I have replaced it with the (&&)
operator.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>

platzhirsch/metadata-census