Package: psensor / 1.1.5-1.1


Package Version Patches format
psensor 1.1.5-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Update rsensor.c drop is_error macro definition.patch | (download)

src/rsensor.c | 22 10 + 12 - 0 !
1 file changed, 10 insertions(+), 12 deletions(-)

 [patch] update rsensor.c: drop is_error macro definition. new json-c
 13.1 removed bits.h inclusion, deprecating de facto all the definitions
 inside. is_error is defined as "#define is_error(ptr) (ptr == NULL)"

in this case, double checking the same pointer is just useless, remove it.
Also simplify the double obj check in remote_psensor_update because obj can't change between the first and the second check