OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_proc.c versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_proc.c 1.4 -> 1.5

--- rc_proc.c    2002/06/26 14:11:16     1.4
+++ rc_proc.c    2002/06/26 14:42:53     1.5
@@ -36,6 +36,7 @@
 #include <sys/stat.h>
 
 #include "rc.h"         /* Public interfaces        */
+#include "rc_config.h"  /* Option definitions       */
 
 
 /************************************************
@@ -135,6 +136,10 @@
 ************************************************/
 rc_return_t procRun(rc_proc_t *pRc)
 {
+    
+    if (configGetval(RC_DBG_VAL)) /* Dump the running config table */
+        configDebug();            /* if debug switch is turned on  */
+
     scriptDump(pRc->m_pScript);
 
     return(RC_THROW(RC_OK));

CVSTrac 2.0.1