]> git.evergreen-ils.org Git - Evergreen.git/commit
More tinkering with oils_cstore.c:
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Jul 2009 14:32:12 +0000 (14:32 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Jul 2009 14:32:12 +0000 (14:32 +0000)
commit711e1d254b8f97ee8ee716610ab3eb592476e33a
tree5c324c1ced63cd08f1427dfcd0a158f42f9b3718
parent81753a60dbe1472318e2aa71465d7c1458e01147
More tinkering with oils_cstore.c:

1. In a couple of spots: replaced jsonObjectClone() with
jsonObjectExtractIndex(), so that we can use an existing
object instead of copying it.

2. In verifyObjectClass(): protected against formatting a NULL
into an error message.

3. In verifyObjectPCRUD(): eliminated a pointless strdup().

4. Rearranged doRetrieve() a bit for clarity, and renamed some
variables for the same reason.  Also added a couple of comments.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13513 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_cstore.c