edbus: simplify and explain code
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 12 Nov 2012 16:06:51 +0000 (16:06 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 12 Nov 2012 16:06:51 +0000 (16:06 +0000)
commit725247be54b8e8110875ba409153488074711e0f
tree02394488a528e2af1ad6b83b6e198abab42edcfe
parentbe6868a5fe41bb8203b80aefd3ef9ce5a0496a7d
edbus: simplify and explain code

No need to strlen(obj->path) twice per loop iteration. Do it only once
and add a comment explaining the difference between handling "/" and
"/my/path/to/obj".

SVN revision: 79176
src/lib/edbus_service.c