Browse code

- fixed typo when testing for has_noisy_ctimer - noisy_ctimer enabled for transactions with external value of FR_INV_TIMER

Jan Janak authored on 01/02/2005 14:18:21
Showing 2 changed files
... ...
@@ -1319,6 +1319,7 @@ int reply_received( struct sip_msg  *p_msg )
1319 1319
 				DBG("reply_received: FR_INV_TIMER = %d\n", timer);
1320 1320
 				set_timer( & uac->request.fr_timer,
1321 1321
 					   FR_INV_TIMER_LIST, &timer );
1322
+				t->flags |= T_NOISY_CTIMER_FLAG;
1322 1323
 			} else {
1323 1324
 				set_timer( & uac->request.fr_timer,
1324 1325
 					   FR_INV_TIMER_LIST, 0 );
... ...
@@ -390,7 +390,7 @@ inline static void final_response_handler( struct timer_link *fr_tl )
390 390
 		/* don't go silent if disallowed globally ... */
391 391
 		&& noisy_ctimer==0
392 392
 		/* ... or for this particular transaction */
393
-		&& has_noisy_ctimer(t);
393
+		&& has_noisy_ctimer(t) == 0;
394 394
 	if (silent) {
395 395
 		UNLOCK_REPLIES(t);
396 396
 		DBG("DEBUG: final_response_handler: transaction silently dropped (%p)\n",t);