diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-27 14:29:09 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-27 14:29:09 +0000 |
commit | cebbf6d44ef277c7349fec19e70f93915b351e2a (patch) | |
tree | 78ecc0d718d255e06e55fabf87a1244598574783 /omfwd.c | |
parent | c7b246e3b64b79f588f364d904cdb1337eccd91b (diff) | |
download | rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.gz rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.xz rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.zip |
some cleanup
Diffstat (limited to 'omfwd.c')
-rw-r--r-- | omfwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -305,7 +305,7 @@ static int TCPSendGSSInit(instanceData *pData) strcpy(out_tok.value, base); strcat(out_tok.value, "@"); strcat(out_tok.value, pData->f_hname); - dbgprintf("GSS-API service name: %s\n", out_tok.value); + dbgprintf("GSS-API service name: %s\n", (char*) out_tok.value); tok_ptr = GSS_C_NO_BUFFER; context = &pData->gss_context; @@ -350,7 +350,7 @@ static int TCPSendGSSInit(instanceData *pData) goto fail; if (out_tok.length != 0) { - dbgprintf("GSS-API Sending init_sec_context token (length: %d)\n", out_tok.length); + dbgprintf("GSS-API Sending init_sec_context token (length: %ld)\n", (long) out_tok.length); if (send_token(s, &out_tok) < 0) { goto fail; } @@ -618,7 +618,7 @@ static int TCPSend(instanceData *pData, char *msg, size_t len) } else { # endif lenSend = send(pData->sock, msg, len, 0); - dbgprintf("TCP sent %d bytes, requested %d, msg: '%s'\n", lenSend, len, + dbgprintf("TCP sent %d bytes, requested %ld, msg: '%s'\n", lenSend, (long) len, bIsCompressed ? "***compressed***" : msg); if((unsigned)lenSend == len) { /* all well */ |