Make plocation_write_...() function to return error value (int) instead of void. Make all json dio_put_...() functions to actually check what the functions they call (mostly those plocation_write_...() ) return, and set their own return value based on that (so far they've always been returning 0 indicating no errors)
Another split from https://www.hostedredmine.com/issues/745593
Make plocation_write_...() function to return error value (int) instead of void. Make all json dio_put_...() functions to actually check what the functions they call (mostly those plocation_write_...() ) return, and set their own return value based on that (so far they've always been returning 0 indicating no errors)