mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 10:50:41 +01:00
Fixed LogError calls in omrelp.
This commit is contained in:
parent
a399cbaa21
commit
769b2f20d4
@ -414,13 +414,13 @@ static rsRetVal doConnect(wrkrInstanceData_t *pWrkrData)
|
|||||||
if(iRet == RELP_RET_OK) {
|
if(iRet == RELP_RET_OK) {
|
||||||
pWrkrData->bIsConnected = 1;
|
pWrkrData->bIsConnected = 1;
|
||||||
} else if(iRet == RELP_RET_ERR_NO_TLS) {
|
} else if(iRet == RELP_RET_ERR_NO_TLS) {
|
||||||
errmsg.LogError(0, RS_RET_RELP_NO_TLS, "Could not connect, librelp does NOT "
|
errmsg.LogError(0, RS_RET_RELP_NO_TLS, "omrelp: Could not connect, librelp does NOT "
|
||||||
"does not support TLS (most probably GnuTLS lib "
|
"does not support TLS (most probably GnuTLS lib "
|
||||||
"is too old)!");
|
"is too old)!");
|
||||||
ABORT_FINALIZE(RS_RET_RELP_NO_TLS);
|
ABORT_FINALIZE(RS_RET_RELP_NO_TLS);
|
||||||
} else if(iRet == RELP_RET_ERR_NO_TLS) {
|
} else if(iRet == RELP_RET_ERR_NO_TLS) {
|
||||||
errmsg.LogError(0, RS_RET_RELP_NO_TLS_AUTH,
|
errmsg.LogError(0, RS_RET_RELP_NO_TLS_AUTH,
|
||||||
"imrelp: could not activate relp TLS with "
|
"omrelp: could not activate relp TLS with "
|
||||||
"authentication, librelp does not support it "
|
"authentication, librelp does not support it "
|
||||||
"(most probably GnuTLS lib is too old)! "
|
"(most probably GnuTLS lib is too old)! "
|
||||||
"Note: anonymous TLS is probably supported.");
|
"Note: anonymous TLS is probably supported.");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user