From f56a0c6075bce60099c882b10f637650ddef15c7 Mon Sep 17 00:00:00 2001
From: Dmitry Frank <dmitry.frank@cesanta.com>
Date: Wed, 13 Jan 2016 01:06:08 +0100
Subject: [PATCH] v7_is_true() -> v7_is_truthy()

    PUBLISHED_FROM=73acce1507eb41f264f117b0775efea16db42ec1
---
 mongoose.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mongoose.c b/mongoose.c
index abf1e79cf..f25928aa0 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -4618,7 +4618,7 @@ void http_handler(struct mg_connection *nc, int ev, void *ev_data) {
         v7_array_push(v7, args, v7_mk_foreign(nc));
         v7_array_push(v7, args, req);
         if (v7_apply(v7, v2, v7_mk_undefined(), args, &res) == V7_OK &&
-            v7_is_true(v7, res)) {
+            v7_is_truthy(v7, res)) {
           js_callback_handled_request++;
         }
       }
-- 
GitLab