ref: 5abc1df8a765868db4c097753d50495d677e464e
parent: 6b49d2e612d576bd4acbd63417b624eb65e40782
author: mkf <mkf@cloud9p.org>
date: Sat May 11 13:13:13 EDT 2024
gui9net: dont run netmain if we arent networked
--- a/gui9net.c
+++ b/gui9net.c
@@ -312,9 +312,12 @@
// initlevel(); /* must happen before "eresized" */
eresized(0);
- netmain(); /* CONN */
- netmain(); /* SYNC */
- netmain(); /* TURN/WAIT */
+ if(networked)
+ {
+ netmain(); /* CONN */
+ netmain(); /* SYNC */
+ netmain(); /* TURN/WAIT */
+ }
for(;;)
{
if(networked && waitbit)