You mean `if (error == 0)` here?