Check response content size for search job in kimap

Review Request #125426 - Created Sept. 27, 2015 and submitted

Information
Xuetian Weng
kimap
master
351850
Reviewers
akonadi
mlaurent

Bug shows that toString is being called against a null pointer, which possible because of response.content does not have enough element inside it. I also occasionally hit this on kimap 15.08.1.

I checked some other jobs in the same folder. It seems that other jobs do check the response.content.size() before look into it, so this may help fix the issue.

Compiles.

Allen Winter
Xuetian Weng
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 8391392149ecae53fa4b792d9e7f06b1a23a8f9f by Weng Xuetian to branch master.
Loading...