File phreebird-missing-return.patch of Package phreebird

--- phreebird_suite_1.02.orig/phreebird.c	2010-11-15 07:20:58.000000000 +0100
+++ phreebird_suite_1.02/phreebird.c	2011-04-06 14:21:11.000000000 +0200
@@ -1157,7 +1157,7 @@
 	bool rate_exceeded=false;
 
 
-	if(ldns_rr_list_rr_count(src)==0){ return; }
+	if(ldns_rr_list_rr_count(src)==0){ return 1; } // assume empty list has been signed successfully
 
 	// XXX *must* allow cache size to be specified, and allow records to expire!
 	if(rrsig_cache == NULL){
openSUSE Build Service is sponsored by