shithub: tcp80

Download patch

ref: e0e59b34ea4ce4384f3078b23e52cd796509da6a
parent: f423629013854dfd09b37ce2f1c7ba637df8a541
author: saeed <saeed@cloud9p.org>
date: Mon Nov 10 15:30:29 EST 2025

initalize host, it doesn't get implictly initalized with recent kernels

--- a/tcp80.c
+++ b/tcp80.c
@@ -906,7 +906,7 @@
 {
 	static char buf[1024], line[1024], statbuf[32];
 	Pair *host;
-	char *hosts;
+	char *hosts = nil;
 	char *r, *c;
 	int i = 0;
 	int n;
--