libebook: Explicitly check e_sexp_parse() result
authorMathias Hasselmann <mathias@openismus.com>
Wed, 16 Jan 2013 14:42:37 +0000 (15:42 +0100)
committerMathias Hasselmann <mathias@openismus.com>
Wed, 16 Jan 2013 14:42:37 +0000 (15:42 +0100)
commit2625a4c4e337b730fe42d035c56bfc0b49666ada
treeadf42d2fc7157c806fa1748a66b26c608feea7d0
parent1b02aee5bcdf224a9d768b9046e0ef5ea58837a8
libebook: Explicitly check e_sexp_parse() result

e_sexp_parse() returns -1 on error and 0 on success. Therefore using it
straighly within an if() statement is confusing for the reader.
addressbook/libebook/e-book-query.c