From a61acd45e922db674e55e974a005688f132b6518 Mon Sep 17 00:00:00 2001 From: eknauel Date: Mon, 15 Nov 2004 14:10:21 +0000 Subject: [PATCH] fix two typos --- c/bdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/bdb.c b/c/bdb.c index 082b923..2b92799 100644 --- a/c/bdb.c +++ b/c/bdb.c @@ -304,7 +304,7 @@ s48_value scsh_bdb_env_lock_get(s48_value senv_handle, s48_value slocker_id, S48_GC_UNPROTECT(); if ((lock = (DB_LOCK *) calloc(1, sizeof(DB_LOCK))) == NULL) - s48_raise_out_of_memory(); + s48_raise_out_of_memory_error(); res = dbenv->lock_get(dbenv, locker_id, flags, &object, lock_mode, lock); @@ -369,7 +369,7 @@ s48_value scsh_bdb_dbrename(s48_value senv_handle, s48_value stxnid, u_int32_t flags; S48_DECLARE_GC_PROTECT(6); - S48_GC_UNPROTECT_6(senv_handle, stxnid, sfile, sdatabase, snewname, sflags); + S48_GC_PROTECT_6(senv_handle, stxnid, sfile, sdatabase, snewname, sflags); dbenv = scsh_extract_dbenv(senv_handle); txnid = EXTRACT_OPTIONAL_TXNID(stxnid); file = s48_extract_string(sfile);