Fossil

Check-in [f566811477]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fixed a type conversion error caused by last round of refactoring.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | json-multitag-test | json
Files: files | file ages | folders
SHA1: f56681147746312932237944d2f8a64440584a5d
User & Date: stephan 2011-10-20 18:28:31.188
Context
2011-10-20
18:48
minor code simplifications. check-in: 400fe340c2 user: stephan tags: json-multitag-test, json
18:28
fixed a type conversion error caused by last round of refactoring. check-in: f566811477 user: stephan tags: json-multitag-test, json
07:00
Moved the user-related JSON handlers into their own file. check-in: 6e18fc2ecc user: stephan tags: json-multitag-test, json
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/json_artifact.c.
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
        /*avoids a potential lifetime issue*/;
    }
    checkin = cson_value_get_object(checkinV);
    cson_object_set_s(checkin, tagKey, json_tags_for_rid(rid,0));
    cson_array_append( checkin_arr, checkinV );
  }   
#else
  json_stmt_to_array_of_obj( &q, cson_array_value(checkin_arr) );
#endif
  db_finalize(&q);
  return payV;
}

/*
** Impl of /json/artifact. This basically just determines the type of







|







306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
        /*avoids a potential lifetime issue*/;
    }
    checkin = cson_value_get_object(checkinV);
    cson_object_set_s(checkin, tagKey, json_tags_for_rid(rid,0));
    cson_array_append( checkin_arr, checkinV );
  }   
#else
  json_stmt_to_array_of_obj( &q, checkin_arr );
#endif
  db_finalize(&q);
  return payV;
}

/*
** Impl of /json/artifact. This basically just determines the type of