[Pianod] Segmentation Fault

Henry So Henry at racetechnologies.com
Fri Jun 20 14:56:54 PDT 2014


Hi Brian,
Thanks for the code snippet.  I’ve been successfully using pianod all day.

Best Regards,
Henry

From: Pianod [mailto:pianod-bounces at lists.deviousfish.com] On Behalf Of Brian Moyer
Sent: Friday, June 20, 2014 6:08 AM
To: pianod
Subject: Re: [Pianod] Segmentation Fault

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<mailto: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<mailto: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/6c65e69a/attachment-0001.htm>


More information about the Pianod mailing list