From 5adbfc6cc62be393ac55d296cab79f7e60b17ae4 Mon Sep 17 00:00:00 2001 From: lazedo Date: Wed, 18 Feb 2015 23:01:57 +0000 Subject: [PATCH] db_text : missing OP_NEQ this affects the presence package when it queries for active_watchers --- modules/db_text/dbt_res.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/db_text/dbt_res.c b/modules/db_text/dbt_res.c index f115992b1d0..bff71b0e967 100644 --- a/modules/db_text/dbt_res.c +++ b/modules/db_text/dbt_res.c @@ -208,6 +208,11 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, if(res!=0) return 0; }else{ + if(!strcmp(_op[i], OP_NEQ)) + { + if(res==0) + return 0; + }else{ if(!strcmp(_op[i], OP_LT)) { if(res!=-1) @@ -229,7 +234,7 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, return 0; }else{ return 0; - }}}}} + }}}}}} } return 1; }