Browse code

replaced damocles check !=0 with ==1. Please Jiri fix the initialisation of damocles!

Nils Ohlmeier authored on 29/05/2003 20:03:26
Showing 1 changed files
... ...
@@ -395,7 +395,7 @@ inline static void wait_handler( void *attr)
395 395
 	struct cell *p_cell = (struct cell*)attr;
396 396
 
397 397
 #ifdef EXTRA_DEBUG
398
-	if (p_cell->damocles) {
398
+	if (p_cell->damocles==1) {
399 399
 		LOG( L_ERR, "ERROR: transaction %p scheduled for deletion and"
400 400
 			" called from WAIT timer\n",p_cell);
401 401
 		abort();