INN commit: trunk/storage/tradindexed (tradindexed.c)

INN Commit Russ_Allbery at isc.org
Thu Feb 19 21:32:41 UTC 2009


    Date: Thursday, February 19, 2009 @ 13:32:41
  Author: iulius
Revision: 8333

A boolean value should be returned by tradindexed_cancel
(not a NULL pointer).

Modified:
  trunk/storage/tradindexed/tradindexed.c

---------------+
 tradindexed.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: tradindexed.c
===================================================================
--- tradindexed.c	2009-02-19 20:42:01 UTC (rev 8332)
+++ tradindexed.c	2009-02-19 21:32:41 UTC (rev 8333)
@@ -221,14 +221,14 @@
 
     if (tradindexed == NULL || tradindexed->index == NULL) {
         warn("tradindexed: overview method not initialized");
-        return NULL;
+        return false;
     }
     entry = tdx_index_entry(tradindexed->index, group);
     if (entry == NULL)
-        return NULL;
+        return false;
     data = data_cache_open(tradindexed, group, entry);
     if (data == NULL)
-        return NULL;
+        return false;
     return tdx_data_cancel(data, artnum);
 }
 




More information about the inn-committers mailing list