<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Hi ,<br>I am trying to iterate through an array recieved through dbus.<br>I get a segmentation fault with dbus_message_iter_recurse. Any ideas??<br> DBusMessageIter args,subIter);<br>.......<br>......<br>i if (!dbus_message_iter_init(msg, &args))<br> fprintf(stderr, "Message Has No Parameters\n");<br> <br> if (DBUS_TYPE_ARRAY!= dbus_message_iter_get_arg_type(&args))<br> {<br> fprintf(stderr, "Message is of Array type\n");<br> dbus_message_iter_recurse(&args, &subIter);<br><br> }<br><br><br>____________________________________________<br>Experience certainty.        IT Services<br>                        Business Solutions<br>                        Outsourcing<br>____________________________________________<div></div></font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<p></p>