Fixed another misuse of the status codes.
Fixed another misuse of the status codes.

venkateshshukla/libdivecomputer,henrik242/libdivecomputer,henrik242/libdivecomputer,andysan/libdivecomputer,andysan/libdivecomputer,venkateshshukla/libdivecomputer,josh-wambua/libdivecomputer,Poltsi/libdivecomputer-vms,glance-/libdivecomputer,glance-/libdivecomputer,josh-wambua/libdivecomputer