rsyslog / librelp

OFFICIAL librelp repository on github
https://www.rsyslog.com/librelp/
GNU General Public License v3.0
30 stars 36 forks source link

code cleanup #252

Closed rgerhards closed 1 year ago

rgerhards commented 1 year ago

During the initial librelp implementation it was thought about an auto-retry feature (whatever that means). Variable bAutoRetry was created to control that behaviour. It's default was 0 (inactive). Some code has been written to evaluate that variable and act accordingly. However, no setter method for this variable was created and it was also nowhere changed from the default value of zero. As such, the code activated by it was never used.

This patch now removes both the variable and the few code lines accessing it. This will have no effect, as the code was never used.

closes: https://github.com/rsyslog/librelp/issues/223 replaces: https://github.com/rsyslog/librelp/pull/234