diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-05 14:50:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-05 14:50:04 +0200 |
commit | fcbead3d4cbda4c79bb7110e65c85afad4131cb8 (patch) | |
tree | 3aefd1911acb73bc036d7228a835276ef3e993bc | |
parent | 62097331cc5fa04aab34bf0c1fb812d62752d0a7 (diff) | |
download | rsyslog-fcbead3d4cbda4c79bb7110e65c85afad4131cb8.tar.gz rsyslog-fcbead3d4cbda4c79bb7110e65c85afad4131cb8.tar.xz rsyslog-fcbead3d4cbda4c79bb7110e65c85afad4131cb8.zip |
trying to remove compiler warnings
-rw-r--r-- | doc/rsyslog_conf.html | 1 | ||||
-rw-r--r-- | runtime/nsd_gtls.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index 49d69275..545bdbc2 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -120,6 +120,7 @@ default 60000 (1 minute)]</li> <li>$ActionQueueWorkerThreadMinumumMessages <number>, default 100</li> <li><a href="rsconf1_actionresumeinterval.html">$ActionResumeInterval</a></li> <li>$ActionResumeRetryCount <number> [default 0, -1 means eternal]</li> +<li>$ActionSendStreamDriver <driver basename> just like $DefaultNetstreamDriver, but for the specific action <li>$ActionSendStreamDriverMode <mode>, default 0, mode to use with the stream driver (driver-specific)</li> <li><a href="rsconf1_allowedsender.html">$AllowedSender</a></li> diff --git a/runtime/nsd_gtls.c b/runtime/nsd_gtls.c index 64f5929b..20de772a 100644 --- a/runtime/nsd_gtls.c +++ b/runtime/nsd_gtls.c @@ -377,7 +377,7 @@ AcceptConnReq(nsd_t *pNsd, nsd_t **ppNew) /* if we reach this point, we are in TLS mode */ CHKiRet(gtlsInitSession(pNew)); - gnutls_transport_set_ptr(pNew->sess, (gnutls_transport_ptr)((nsd_ptcp_t*) (pNew->pTcp))->sock); + gnutls_transport_set_ptr(pNew->sess, (gnutls_transport_ptr_t)((nsd_ptcp_t*) (pNew->pTcp))->sock); /* we now do the handshake. This is a bit complicated, because we are * on non-blocking sockets. Usually, the handshake will not complete @@ -509,7 +509,7 @@ Connect(nsd_t *pNsd, int family, uchar *port, uchar *host) /* assign the socket to GnuTls */ CHKiRet(nsd_ptcp.GetSock(pThis->pTcp, &sock)); - gnutls_transport_set_ptr(pThis->sess, (gnutls_transport_ptr)sock); + gnutls_transport_set_ptr(pThis->sess, (gnutls_transport_ptr_t)sock); /* and perform the handshake */ CHKgnutls(gnutls_handshake(pThis->sess)); |