SMOLNET PORTAL home about changes
iremove a premature optimization - teed - A multiplex relay tee(1) daemon.	Err	bitreich.org	70
hgit clone git://bitreich.org/teed git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/teed	URL:git://bitreich.org/teed git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/teed	bitreich.org	70
1Log	/scm/teed/log.gph	bitreich.org	70
1Files	/scm/teed/files.gph	bitreich.org	70
1Refs	/scm/teed/refs.gph	bitreich.org	70
1Tags	/scm/teed/tag	bitreich.org	70
1README	/scm/teed/file/README.md.gph	bitreich.org	70
1LICENSE	/scm/teed/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit 22ed6e7883ecd3f6e3ade985a0963604ba800ade	/scm/teed/commit/22ed6e7883ecd3f6e3ade985a0963604ba800ade.gph	bitreich.org	70
1parent b5674ba2b8612d190d7f61ed4816f56f7e1e9381	/scm/teed/commit/b5674ba2b8612d190d7f61ed4816f56f7e1e9381.gph	bitreich.org	70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org>	URL:mailto:hiltjo@codemadness.org	bitreich.org	70
iDate:   Mon, 14 Aug 2023 14:22:40 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
iremove a premature optimization	Err	bitreich.org	70
i	Err	bitreich.org	70
iThe loop below already checks the linked-list head pointer.	Err	bitreich.org	70
i	Err	bitreich.org	70
iSigned-off-by: Christoph Lohmann <20h@r-36.net>	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M teed.c                              |       3 +--	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 1 insertion(+), 2 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/teed.c b/teed.c	/scm/teed/file/teed.c.gph	bitreich.org	70
i@@ -269,8 +269,7 @@ main(int argc, char *argv[])	Err	bitreich.org	70
i                                         if (e == NULL)	Err	bitreich.org	70
i                                                 break;	Err	bitreich.org	70
i                                 }	Err	bitreich.org	70
i-                                if (llist_len(wfds) == 0)	Err	bitreich.org	70
i-                                        continue;	Err	bitreich.org	70
i+	Err	bitreich.org	70
i                                 forllist(wfds, qe) {	Err	bitreich.org	70
i                                         sendbufi = recvbuf;	Err	bitreich.org	70
i                                         sendl = recvl;	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/teed/commit/22ed6e7883ecd3f6e...
Content-Typetext/plain; charset=utf-8