ossp-pkg/rc/rc_proc.c 1.8 -> 1.9
--- rc_proc.c 2002/06/28 17:43:23 1.8
+++ rc_proc.c 2002/06/28 18:23:10 1.9
@@ -132,7 +132,7 @@
if (szSec) /* Only call append if the section lookup succeeded */
scriptAppend(pRc->m_pScript, szSec, strlen(szSec));
- else
+ else if (configGetval(RC_DBG_VAL)) /* Only show when debug is set */
fprintf(stderr, "#Warning: Missing section '%s' in %s!\n", pRc->m_pAnal->m_pszSecs[i], pRc->m_pAnal->m_szRcs[nIter]);
if (szSec) { /* Cleanup section string */
|
|