30 lines
824 B
Diff
30 lines
824 B
Diff
|
|
From 9bc4c49d0705db2656a56fe14a5a2cfe3f6c9ac2 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Rainer Gerhards <rgerhards@adiscon.com>
|
||
|
|
Date: Tue, 12 Nov 2024 10:54:00 +0100
|
||
|
|
Subject: [PATCH] nsd_ptcp regression fix: remove debugging messages emited to
|
||
|
|
stderr
|
||
|
|
|
||
|
|
fix regression introduced by 9ac56b286. This spits out a debug message
|
||
|
|
to stderr. That message is removed by this patch here.
|
||
|
|
|
||
|
|
closes https://github.com/rsyslog/rsyslog/issues/5485
|
||
|
|
---
|
||
|
|
runtime/nsd_ptcp.c | 1 -
|
||
|
|
1 file changed, 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/runtime/nsd_ptcp.c b/runtime/nsd_ptcp.c
|
||
|
|
index 8549d5aaa..240482b72 100644
|
||
|
|
--- a/runtime/nsd_ptcp.c
|
||
|
|
+++ b/runtime/nsd_ptcp.c
|
||
|
|
@@ -74,7 +74,6 @@ DEFobjCurrIf(prop)
|
||
|
|
static void
|
||
|
|
sockClose(int *pSock)
|
||
|
|
{
|
||
|
|
- fprintf(stderr, "nsd_ptcp: closing socket %d\n", *pSock);
|
||
|
|
if(*pSock >= 0) {
|
||
|
|
close(*pSock);
|
||
|
|
*pSock = -1;
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|