<div dir="ltr"><div>forgot to give feedback on this issue, here's a patch.</div><div><br></div><div>--- modules/htable/htable.c<span class="" style="white-space:pre">        </span>2014-08-15 23:49:34.064455715 -0700</div><div>
+++ modules/htable.c <span class="" style="white-space:pre"> </span>2014-08-15 23:50:17.640626126 -0700</div><div>@@ -1105,7 +1105,7 @@</div><div> }</div><div> </div><div> rpc_export_t htable_rpc[] = {</div><div>-<span class="" style="white-space:pre">  </span>{"htable.dump", htable_rpc_dump, htable_dump_doc, 0},</div>
<div>+<span class="" style="white-space:pre">   </span>{"htable.dump", htable_rpc_dump, htable_dump_doc, RET_ARRAY},</div><div> <span class="" style="white-space:pre">  </span>{"htable.delete", htable_rpc_delete, htable_delete_doc, 0},</div>
<div> <span class="" style="white-space:pre">  </span>{"htable.get", htable_rpc_get, htable_get_doc, 0},</div><div> <span class="" style="white-space:pre">     </span>{"htable.sets", htable_rpc_sets, htable_sets_doc, 0},</div>
<div><br></div></div><div class="gmail_extra"><br clear="all"><div>Kelvin Chua</div>
<br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 2:32 PM, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">Kelvin Chua writes:<br>
<br>
> i was able to apply the RET_ARRAY fix to htable.dump in 4.0.5<br>
> however unable to share the patch as htable_rpc[] is nowhere to be found on<br>
> trunk<br>
> was there any changes from 4.0.x to trunk with regards to rpc?<br>
<br>
</div>see<br>
<br>
rpc_export_t htable_rpc[] = {<br>
        {"htable.dump", htable_rpc_dump, htable_dump_doc, 0},<br>
        {"htable.delete", htable_rpc_delete, htable_delete_doc, 0},<br>
        {"htable.get", htable_rpc_get, htable_get_doc, 0},<br>
        {"htable.sets", htable_rpc_sets, htable_sets_doc, 0},<br>
        {"htable.seti", htable_rpc_seti, htable_seti_doc, 0},<br>
        {"htable.listTables", htable_rpc_list, htable_list_doc, 0},<br>
        {"htable.reload", htable_rpc_reload, htable_reload_doc, 0},<br>
        {"htable.stats", htable_rpc_stats, htable_stats_doc, 0},<br>
        {0, 0, 0, 0}<br>
};<br>
<br>
in htable.c.<br>
<br>
if you don't have write access to the repo, make the change and if it<br>
works in your tests, i can apply the patch.<br>
<div class="HOEnZb"><div class="h5"><br>
-- juha<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>