[sr-dev] [tracker] Comment added: modules/debugger: be able to log assign actions

sip-router bugtracker at sip-router.org
Tue May 28 18:16:14 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#299 - modules/debugger: be able to log assign actions
User who did this - Daniel-Constantin Mierla (miconda)

----------
This one in first patch is still wrong:

@@ -2636,7 +2634,8 @@ avp_pvar:	AVP_OR_PVAR {
 				}
 				memset(lval_tmp, 0, sizeof(*lval_tmp));
 				s_tmp.s=$1; s_tmp.len=strlen(s_tmp.s);
-				if (pv_parse_spec2(&s_tmp, &lval_tmp->lv.pvs, 1)==0){
+				lval_tmp->lv.pvs = pv_cache_get(&s_tmp);
+				if (pv_parse_spec2(&s_tmp, lval_tmp->lv.pvs, 1)==0){
 					/* not a pvar, try avps */

No need for:

+				if (pv_parse_spec2(&s_tmp, lval_tmp->lv.pvs, 1)==0){

The condition should be:

if(lval_tmp->lv.pvs == NULL) {

So, if pv not found in cache, then try avp.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=299#comment906

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list