Browse code

- added fr_timer workarround (not fixed, but at least it won't segfault)

Andrei Pelinescu-Onciul authored on 01/09/2003 11:24:52
Showing 1 changed files
... ...
@@ -315,6 +315,11 @@ inline static void final_response_handler( void *attr)
315 315
 	struct cell *t;
316 316
 
317 317
 	r_buf = (struct retr_buf*)attr;
318
+	if (r_buf==0){
319
+		/* or BUG?, ignoring it for now */
320
+		LOG(L_CRIT, "ERROR: final_response_handler(0) called\n");
321
+		return;
322
+	}
318 323
 	t=r_buf->my_T;
319 324
 
320 325
 #	ifdef EXTRA_DEBUG