#! /bin/sh /usr/share/dpatch/dpatch-run
## 300-request_procces-nosend.dpatch by  <joe@nameserver3.ttec.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad freeradius-2.0.0~pre0~cvs20051222-0-JM~/src/main/request_process.c freeradius-2.0.0~pre0~cvs20051222-0-JM/src/main/request_process.c
--- freeradius-2.0.0~pre0~cvs20051222-0-JM~/src/main/request_process.c	2005-12-28 14:47:37.000000000 -0500
+++ freeradius-2.0.0~pre0~cvs20051222-0-JM/src/main/request_process.c	2006-01-24 17:41:13.000000000 -0500
@@ -559,6 +559,7 @@
 	 *	suppress packets which aren't supposed to be sent over
 	 *	the wire, or to be delayed.
 	 */
+	if (request && request->listener && request->listener->send)
 	request->listener->send(request->listener, request);
 
 	/*
