Apply the const qualifier to a variable so that it can receive
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 2 Oct 2009 18:55:35 +0000 (18:55 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 2 Oct 2009 18:55:35 +0000 (18:55 +0000)
a const pointer from jsonObjectGetString().

M    Open-ILS/src/c-apps/oils_dataloader.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14252 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_dataloader.c

index 6a7b476..5e10426 100644 (file)
@@ -25,7 +25,7 @@ static int rollbackTransaction ( );
 
 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 ) {