summaryrefslogtreecommitdiffstats
path: root/ommysql.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 /ommysql.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 'ommysql.c')
-rw-r--r--ommysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ommysql.c b/ommysql.c
index 6a1040b5..43cd9ae1 100644
--- a/ommysql.c
+++ b/ommysql.c
@@ -131,7 +131,7 @@ static void reportDBError(instanceData *pData, int bSilent)
snprintf(errMsg, sizeof(errMsg)/sizeof(char), "db error (%d): %s\n", uMySQLErrno,
mysql_error(pData->f_hmysql));
if(bSilent || uMySQLErrno == pData->uLastMySQLErrno)
- dprintf("mysql, DBError(silent): %s\n", errMsg);
+ dbgprintf("mysql, DBError(silent): %s\n", errMsg);
else {
pData->uLastMySQLErrno = uMySQLErrno;
logerror(errMsg);
@@ -213,7 +213,7 @@ ENDtryResume
BEGINdoAction
CODESTARTdoAction
- dprintf("\n");
+ dbgprintf("\n");
iRet = writeMySQL(ppString[0], pData);
ENDdoAction