summaryrefslogtreecommitdiffstats
path: root/src/H5FPserver.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 18:54:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 18:54:21 (GMT)
commit3852a59d59a2f53866fc004de635180a3a40790a (patch)
tree7dafc18949b1d5136881a69c79b616722e359c16 /src/H5FPserver.c
parent1c1bf5dcd37a9370f555f4ad2e4a001f39e1a1dd (diff)
downloadhdf5-3852a59d59a2f53866fc004de635180a3a40790a.zip
hdf5-3852a59d59a2f53866fc004de635180a3a40790a.tar.gz
hdf5-3852a59d59a2f53866fc004de635180a3a40790a.tar.bz2
[svn-r7300] Purpose:
Code cleanup Description: Use HDONE_ERROR instead of HCOMMON_ERROR Platforms tested: h5committested
Diffstat (limited to 'src/H5FPserver.c')
-rw-r--r--src/H5FPserver.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5FPserver.c b/src/H5FPserver.c
index 98c21c3..36a6fa8 100644
--- a/src/H5FPserver.c
+++ b/src/H5FPserver.c
@@ -1059,8 +1059,7 @@ H5FP_sap_handle_lock_request(H5FP_request_t *req)
if (!H5TB_dins(oids[j].info->locks, (void *)lock, NULL)) {
H5FP_free_object_lock(lock);
exit_state = H5FP_STATUS_LOCK_FAILED;
- ret_value = FAIL;
- HCOMMON_ERROR(H5E_FPHDF5, H5E_CANTINSERT, "can't insert lock into tree");
+ HDONE_ERROR(H5E_FPHDF5, H5E_CANTINSERT, FAIL, "can't insert lock into tree");
goto rollback;
}
@@ -1068,8 +1067,7 @@ H5FP_sap_handle_lock_request(H5FP_request_t *req)
} else {
/* out of memory...ulp! */
exit_state = H5FP_STATUS_OOM;
- ret_value = FAIL;
- HCOMMON_ERROR(H5E_RESOURCE, H5E_NOSPACE, "out of memory");
+ HDONE_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "out of memory");
goto rollback;
}
}