Module: sip-router
Branch: master
Commit: 216faa86af3d6db70fae9186ab2776efc27a5f55
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=216faa86af3d6db70fae9186ab2776efc27a5f55

Author: Ovidiu Sas <[email protected]>
Committer: Ovidiu Sas <[email protected]>
Date:   Wed Mar 19 22:36:47 2014 -0400

xhttp_pi: fix copy/paste error that can lead to a crash when 'order_by_cols' 
are used

---

 modules/xhttp_pi/xhttp_pi_fnc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/xhttp_pi/xhttp_pi_fnc.c b/modules/xhttp_pi/xhttp_pi_fnc.c
index 761a277..71f6fbc 100644
--- a/modules/xhttp_pi/xhttp_pi_fnc.c
+++ b/modules/xhttp_pi/xhttp_pi_fnc.c
@@ -1357,7 +1357,7 @@ int ph_getCmds(ph_db_table_t *ph_db_tables, int 
ph_db_tables_size,
                                                                NULL,
                                                                &cmds->o_keys,
                                                                NULL,
-                                                               &cmds->q_vals,
+                                                               NULL,
                                                                
&cmds->o_keys_size,
                                                                cmd_cols)!=0)
                                                        return -1;


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to