mqtt: when Curl_xfer_recv returns error, don't use nread
A returned error code makes other return value unreliable, and in this case potentially uninitialized. On error, do not read other return values like the nread counter. Spotted by CodeSonar
Please register or sign in to comment