summaryrefslogtreecommitdiffstats
path: root/uemis.c
diff options
context:
space:
mode:
Diffstat (limited to 'uemis.c')
-rw-r--r--uemis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis.c b/uemis.c
index 7221256b9..4135e0cfe 100644
--- a/uemis.c
+++ b/uemis.c
@@ -162,7 +162,7 @@ int uemis_get_divespot_id_by_diveid(uint32_t diveid)
return hp->divespot;
hp = hp->next;
}
- return 0;
+ return -1;
}
void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude)