Fix oc_ri_get_query_value()
Fix oc_ri_get_query_value()

This patch fixes an error in the logic that walks through all
query paramters in a request.

Change-Id: I36bde769e77e77ef9027bb28abd1484b674d79a8
Signed-off-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18505

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained