2
0
Эх сурвалжийг харах

- removed EXTRA_DEBUG abort() from bug check in t_check and replaced
the error message w/ a warning: as Gergely and Miklos pointed out this is a
perfectly valid case and not a bug

Andrei Pelinescu-Onciul 18 жил өмнө
parent
commit
31c707fd01
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      modules/tm/t_lookup.c

+ 3 - 3
modules/tm/t_lookup.c

@@ -1008,9 +1008,9 @@ int t_check( struct sip_msg* p_msg , int *param_branch )
 		}
 #ifdef EXTRA_DEBUG
 		if ( T && T!=T_UNDEFINED && T->flags & (T_IN_AGONY)) {
-			LOG( L_ERR, "ERROR: transaction %p scheduled for deletion "
-				"and called from t_check (flags=%x)\n", T, T->flags);
-			abort();
+			LOG( L_WARN, "WARNING: transaction %p scheduled for deletion "
+				"and called from t_check (flags=%x) (but it might be ok)\n",
+				T, T->flags);
 		}
 #endif
 		DBG("DEBUG: t_check: msg id=%d global id=%d T end=%p\n",