if (local_context->size > 0) {
osrfLogDebug( OSRF_LOG_MARK, "%d class-local context field(s) specified", local_context->size);
int i = 0;
- char* lcontext = NULL;
+ const char* lcontext = NULL;
while ( (lcontext = osrfStringArrayGetString(local_context, i++)) ) {
osrfStringArrayAdd( context_org_array, oilsFMGetString( param, lcontext ) );
osrfLogDebug(
osrfStringArray* jump_list = osrfHashGet(fcontext, "jump");
if (_fparam && jump_list) {
- char* flink = NULL;
+ const char* flink = NULL;
int k = 0;
while ( (flink = osrfStringArrayGetString(jump_list, k++)) && _fparam ) {
free(foreign_pkey_value);
free(foreign_pkey_value);
int j = 0;
- char* foreign_field = NULL;
+ const char* foreign_field = NULL;
while ( (foreign_field = osrfStringArrayGetString(osrfHashGet(fcontext,"context"), j++)) ) {
osrfStringArrayAdd( context_org_array, oilsFMGetString( _fparam, foreign_field ) );
osrfLogDebug(
jsonObjectFree(param);
}
- char* context_org = NULL;
- char* perm = NULL;
+ const char* context_org = NULL;
+ const char* perm = NULL;
int OK = 0;
if (permission->size == 0) {
while ((cur = jsonObjectGetIndex( res_list, res_idx++ ) )) {
int i = 0;
- char* link_field;
+ const char* link_field;
while ( (link_field = osrfStringArrayGetString(link_fields, i++)) ) {