[open-ils-commits] r14252 - trunk/Open-ILS/src/c-apps (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 2 14:55:39 EDT 2009
Author: scottmk
Date: 2009-10-02 14:55:35 -0400 (Fri, 02 Oct 2009)
New Revision: 14252
Modified:
trunk/Open-ILS/src/c-apps/oils_dataloader.c
Log:
Apply the const qualifier to a variable so that it can receive
a const pointer from jsonObjectGetString().
M Open-ILS/src/c-apps/oils_dataloader.c
Modified: trunk/Open-ILS/src/c-apps/oils_dataloader.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_dataloader.c 2009-10-02 06:49:12 UTC (rev 14251)
+++ trunk/Open-ILS/src/c-apps/oils_dataloader.c 2009-10-02 18:55:35 UTC (rev 14252)
@@ -25,7 +25,7 @@
static osrfHash* mnames = NULL;
static osrfAppSession* session = NULL;
-static char* trans_id = NULL;
+static const char* trans_id = NULL;
int main (int argc, char **argv) {
if( argc < 4 ) {
More information about the open-ils-commits
mailing list