/* If there was an error, stop now and return error */
if (first_result != 0)
return first_result;
/* otherwise finish the job and return result */
/* If there was an error, stop now and return error */
if (first_result != 0)
return first_result;
/* otherwise finish the job and return result */