Skip to content
Snippets Groups Projects
Verified Commit 328fdfbe authored by Philip Hands's avatar Philip Hands
Browse files

neuter remotelog while loop

I'm pretty sure that remoteAddrList is NULL here (presumably unless one
uses -R) in which case this should make not the slightest difference,
but at one point it seemed to fix things.
parent 91e0bf46
No related branches found
No related tags found
No related merge requests found
Pipeline #561592 failed
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -1018,7 +1018,7 @@
/* No non-option params */
opts = getopt32(argv, "^"OPTION_STR"\0""=0", OPTION_PARAM);
#if ENABLE_FEATURE_REMOTE_LOG
- while (remoteAddrList) {
+ while (0 && remoteAddrList) {
remoteHost_t *rh = xzalloc(sizeof(*rh));
rh->remoteHostname = llist_pop(&remoteAddrList);
rh->remoteFD = -1;
......@@ -18,3 +18,4 @@ syslogd-decrease-stack-usage-50-bytes.patch
syslogd-daemonize-after-init-make-errs-visible.patch
syslogd-avoid-nulling-devlog.patch
0015-add-a-podman-test-for-syslogd.patch
0016-neuter-remotelog-while-loop
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment