ref: 6b49d2e612d576bd4acbd63417b624eb65e40782
parent: 268b944a04cbf8b65379acbae6d059dea6fe83ae
author: mkf <mkf@cloud9p.org>
date: Sat May 11 13:12:26 EDT 2024
netclient: change state directly, who cares?
--- a/netclient.c
+++ b/netclient.c
@@ -215,13 +215,9 @@
networked = 1;
}
else if(!strcmp(tokens[0], "WON"))
- {
- msg->err = Won;
- }
+ state = Won;
else if(!strcmp(tokens[0], "LOST"))
- {
- msg->err = Lost;
- }
+ state = Lost;
else
{
sysfatal("netproc(): unkown message");