[Pianod] Segmentation Fault

Brian Moyer bdm310 at gmail.com
Fri Jun 20 06:07:31 PDT 2014


I surrounded the for loop with an if statement checking the json type.

if(json_object_get_type(val) == json_type_array)
{
     for (size_t i=0; i < json_object_array_length(val); i++) {
     ...
     }
}


On Thu, Jun 19, 2014 at 4:56 PM, Ansen F. Labardee <
alabardee at veinclinicpa.net> wrote:

> Brian,
>
> What did you replace the offending code with? Forgive me, my coding is
> quite rough.
>
> --
>
> *Ansen Labardee*
>
>
> This email message is for the sole use of the intended recipients and may
> contain confidential and privileged information. Any unauthorized review,
> use, disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message
>
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20140620/00fefd0e/attachment-0002.htm>


More information about the Pianod mailing list