summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-08 08:20:06 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-08 08:20:06 +0000
commitfed254a29f88d12d18b3e8dd06ef126bed219ed0 (patch)
tree19c947b5a259c00597580f884721aee2e64173a2 /omusrmsg.c
parent12c7e9ab4bba93e019f7f118d036d7dedcdf0037 (diff)
downloadrsyslog-fed254a29f88d12d18b3e8dd06ef126bed219ed0.tar.gz
rsyslog-fed254a29f88d12d18b3e8dd06ef126bed219ed0.tar.xz
rsyslog-fed254a29f88d12d18b3e8dd06ef126bed219ed0.zip
changed function name dprintf() to dbgprintf() as it conflicts with the
clib
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index d63f957a..736f325b 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -251,7 +251,7 @@ ENDtryResume
BEGINdoAction
CODESTARTdoAction
- dprintf("\n");
+ dbgprintf("\n");
iRet = wallmsg(ppString[0], pData);
ENDdoAction
@@ -271,7 +271,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
if(*p == '*') { /* wall */
- dprintf ("write-all");
+ dbgprintf("write-all");
++p; /* eat '*' */
pData->bIsWall = 1; /* write to all users */
if((iRet = cflineParseTemplateName(&p, *ppOMSR, 0, OMSR_NO_RQD_TPL_OPTS, (uchar*) " WallFmt"))
@@ -282,7 +282,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
* TODO: we must reconsider this - see also comment in
* loadBuildInModules() in syslogd.c
*/
- dprintf ("users: %s\n", p); /* ASP */
+ dbgprintf("users: %s\n", p); /* ASP */
pData->bIsWall = 0; /* write to individual users */
for (i = 0; i < MAXUNAMES && *p && *p != ';'; i++) {
for (q = p; *q && *q != ',' && *q != ';'; )