]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10801: [core] fix typo in core db interface
authorMike Jerris <mike@signalwire.com>
Tue, 26 Feb 2019 22:21:33 +0000 (15:21 -0700)
committerAndrey Volk <andywolk@gmail.com>
Mon, 15 Jul 2019 18:19:12 +0000 (22:19 +0400)
src/switch_core_sqldb.c

index b572e47cf1f51bb4d47e440f51ae4124e910ae6a..c37360e63765d56a7a0d6c085e96959a48f94de6 100644 (file)
@@ -1610,7 +1610,7 @@ SWITCH_DECLARE(switch_bool_t) switch_cache_db_test_reactive_ex(switch_cache_db_h
                                                }
                                        }
 
-                                       r = result;
+                                       r = (result == SWITCH_STATUS_SUCCESS);
                                }
                        }
                }