--- fsl.c 2003/05/22 13:48:45 1.60
+++ fsl.c 2003/05/22 14:01:55 1.61
@@ -200,7 +200,7 @@
int fsldebug_permanentproblem;
#endif /* ifdef FSL_DEBUGLOGCODE */
char *fsl_config;
-} ctx = {
+} ctx = {
NULL,
NULL,
NULL,
@@ -217,12 +217,12 @@
#endif /* ifdef FSL_DEBUGLOGCODE */
"@(#)OSSP fsl config "
"cfgdir=" FSL_CFGDIR " "
- "prefix=" FSL_PREFIX
+ "prefix=" FSL_PREFIX
"\n"
"@(#)OSSP fsl debug "
#ifdef FSL_DEBUGLOGCODE
"logfile=" FSL_DEBUGLOGFILE " "
- "logmask=" FSL_DEBUGLOGMASK
+ "logmask=" FSL_DEBUGLOGMASK
#else /* ifdef FSL_DEBUGLOGCODE */
"code omitted"
#endif /* ifdef FSL_DEBUGLOGCODE */
@@ -279,7 +279,7 @@
/* level */
l2_util_sprintf( &cpo[cpn], MAXWRITESIZE-cpn, "<%s> ", l2_util_l2s(cp, sizeof(cp), '\0', level) == L2_OK ? cp : "unknown");
cpn = strlen(cpo);
-
+
/* program "name" and pid */
l2_util_sprintf( &cpo[cpn], MAXWRITESIZE-cpn, "%s[%lu^%lu] ", ctx.cpISF != NULL ? ctx.cpISF : "unknown", (unsigned long)getpid(), (unsigned long)getppid());
cpn = strlen(cpo);
@@ -504,7 +504,7 @@
return n;
}
-/* process OSSP cfg node tree directives
+/* process OSSP cfg node tree directives
mode=0 processes map/ident,
mode=1 processes default
*/
@@ -685,7 +685,7 @@
}
if (mapto == -1) {
fsldebug(L2_LEVEL_ERROR, "processcfg: trying to map to unknown l2 level \"%s\"", cfgargtoka[2]); CU(FSL_ERR_CUS); }
-
+
ctx.levelmap[mapfrom].l2 = l2level2string[mapto].level;
fsldebug(L2_LEVEL_DEBUG, "processcfg: map levelmap[%10s/%d].l2 = l2level2string[%10s/%d].level = 0x%.8lx", cfgargtoka[1], mapfrom, cfgargtoka[2], mapto, (unsigned long)l2level2string[mapto].level);
}
@@ -767,7 +767,7 @@
for (i = 0; sysloglevel2string[i].string != NULL; i++) {
ctx.levelmap[i].syslog = sysloglevel2string[i].level;
ctx.levelmap[i].l2 = sysloglevel2string[i].deflevelmap;
- fsldebug(L2_LEVEL_DEBUG, "openlog: ctx.levelmap[%d].syslog = 0x%.8lx, ctx.levelmap[%d].l2 = 0x%.8lx",
+ fsldebug(L2_LEVEL_DEBUG, "openlog: ctx.levelmap[%d].syslog = 0x%.8lx, ctx.levelmap[%d].l2 = 0x%.8lx",
i, (unsigned long)ctx.levelmap[i].syslog, i, (unsigned long)ctx.levelmap[i].l2);
}
@@ -918,7 +918,7 @@
int i;
l2_result_t l2rv;
char *cp;
-
+
/* tracing */
fsldebug(L2_LEVEL_TRACE, "fsl in vsyslog(3) fmt=%s%s%s ...", fmt == NULL ? "" : "\"", fmt == NULL ? "NULL" : fmt, fmt == NULL ? "" : "\"");
|