handler: replace is_error() helper with NULL check
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 8 Dec 2017 14:22:13 +0000 (16:22 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 10 Dec 2017 16:36:54 +0000 (17:36 +0100)
commitd3a5df04bdcc039d900df49c8c608c1a91a976c7
treed629ebc5d650cec240a6d27845c915526bd07b42
parentc92106e3048ae10cb04a7c7303ba5f53bc057953
handler: replace is_error() helper with NULL check

The `is_error()` is just a macro that checks
that object is NULL (which is considered an error
in libjson-c terminology).

Newer libjson-c versions have deprecated this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
handler.c