diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-25 16:04:46 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-25 16:04:46 +0000 |
commit | 2c8eae6a0c00b1e067cca8a1a77b7f9ca4a9e7f3 (patch) | |
tree | dc2b3456d81c35f3b0d8946a0d3fc1091d5c3b32 /net.c | |
parent | 7af2c0a66b03db92a9ca1faae6c37c8fdc666c0e (diff) | |
download | rsyslog-2c8eae6a0c00b1e067cca8a1a77b7f9ca4a9e7f3.tar.gz rsyslog-2c8eae6a0c00b1e067cca8a1a77b7f9ca4a9e7f3.tar.xz rsyslog-2c8eae6a0c00b1e067cca8a1a77b7f9ca4a9e7f3.zip |
moved some of the udp input code to its right place
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -137,8 +137,12 @@ static rsRetVal AddAllowedSenderEntry(struct AllowedSenders **ppRoot, struct All /* function to clear the allowed sender structure in cases where * it must be freed (occurs most often when HUPed. * TODO: reconsider recursive implementation + * I think there is also a memory leak, because only the last entry + * is acutally deleted... -- rgerhards, 2007-12-25 */ -void clearAllowedSenders (struct AllowedSenders *pAllow) { +void clearAllowedSenders (struct AllowedSenders *pAllow) +{ +dbgprintf("clearAllowedSenders(0x%lx)\n", (unsigned long) pAllow); if (pAllow != NULL) { if (pAllow->pNext != NULL) clearAllowedSenders (pAllow->pNext); @@ -840,6 +844,7 @@ void closeUDPListenSockets() { register int i; +dbgprintf("in closeUDPListenSockets()\n"); if(finet != NULL) { for (i = 0; i < *finet; i++) close(finet[i+1]); |