Print out section name for empty sections
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 May 2010 12:55:26 +0000 (14:55 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 May 2010 14:33:04 +0000 (16:33 +0200)
src/main/modules.c

index 61e5d12..e15ee76 100644 (file)
@@ -697,7 +697,7 @@ int indexed_modcall(int comp, int idx, REQUEST *request)
 
        if (idx == 0) {
                list = server->mc[comp];
-               if (!list) RDEBUG2("  WARNING: Empty section.  Using default return values.");
+               if (!list) RDEBUG2("  WARNING: Empty %s section.  Using default return values.", section_type_value[comp].section);
 
        } else {
                indexed_modcallable *this;