mirror of https://github.com/sipwise/rtpengine.git
The index j we get is not the position in the output array/list, but rather the index into the source array. Simply append each new element to the array in order. Also make sure we don't skip over empty elements in the array when building the JSON list, so that the order is preserved. Change-Id: Id6577410e114f0ddbea745977118f1bab2e38fa9pull/1752/head
parent
3f5a22d2a5
commit
64724284c1
Loading…
Reference in new issue