print out module return code, too. This appears to have been
authoraland <aland>
Mon, 9 Oct 2006 20:39:37 +0000 (20:39 +0000)
committeraland <aland>
Mon, 9 Oct 2006 20:39:37 +0000 (20:39 +0000)
accidentally deleted

src/main/modcall.c

index c110a22..cc819c3 100644 (file)
@@ -482,6 +482,11 @@ int modcall(int component, modcallable *c, REQUEST *request)
                
                myresult = call_modsingle(component, sp, request,
                                          default_component_results[component]);
+               DEBUG2("  modcall[%s]: module \"%s\" returns %s for request %d",
+                      comp2str[component], c->name,
+                      lrad_int2str(rcode_table, myresult, "??"),
+                      request->number);
+
 
                /*
                 *      FIXME: Allow modules to push a modcallable