core expr eval: fix script functions failure check
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Mon, 4 May 2009 08:41:07 +0000 (10:41 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Mon, 4 May 2009 08:41:07 +0000 (10:41 +0200)
commitf8a33b329085731db4a00aead676f044cd27b939
tree6d20b1c45a5a4211444d017d87c02b34b0feecdd
parent87d5961121ade01714ac9717caa9691f6b6a9e9c
core expr eval: fix script functions failure check

script/module functions integer/boolean evaluation did not respect
the module return convention (>0 success, <0 failure).

Reported-by: Daniel-Constantin Mierla <miconda@gmail.com>
rvalue.c