intel / liblwm2m

liblwm2m is an implementation of the LWM2M protocol from the Open Mobile Alliance.
BSD 3-Clause "New" or "Revised" License
44 stars 28 forks source link

fix bad condition in prv_find_object() #3

Closed kartben closed 11 years ago

kartben commented 11 years ago

When using the test client, you will retrieve the equivalent of coap://localhost:5683/1024 even though you e.g. get /1020 . Unless there is something I missed in the spec, prv_find_object() search loop should be fixed with the proposed patch.