summaryrefslogtreecommitdiffstats
path: root/runtime/nsd_ptcp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-18 12:20:02 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-18 12:20:02 +0200
commit22ad77a627fe813acd286b48aaf44945c0480f49 (patch)
treecf737609203a055db3b70eb4cd1a711955ac7233 /runtime/nsd_ptcp.c
parent1daf8d492f932739b6fcde732812116c7666b2bc (diff)
downloadrsyslog-22ad77a627fe813acd286b48aaf44945c0480f49.tar.gz
rsyslog-22ad77a627fe813acd286b48aaf44945c0480f49.tar.xz
rsyslog-22ad77a627fe813acd286b48aaf44945c0480f49.zip
fixed abort on rsyslogd termination
Diffstat (limited to 'runtime/nsd_ptcp.c')
-rw-r--r--runtime/nsd_ptcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/nsd_ptcp.c b/runtime/nsd_ptcp.c
index 98de5802..6f7dd04d 100644
--- a/runtime/nsd_ptcp.c
+++ b/runtime/nsd_ptcp.c
@@ -67,7 +67,7 @@ ENDobjConstruct(nsd_ptcp)
/* destructor for the nsd_ptcp object */
BEGINobjDestruct(nsd_ptcp) /* be sure to specify the object type also in END and CODESTART macros! */
int i;
-CODESTARTobjDestruct(nsd_pctp)
+CODESTARTobjDestruct(nsd_ptcp)
if(pThis->sock != -1) {
close(pThis->sock);
pThis->sock = -1;