From a5c44d9c396b02c013c9d76709382d7e67aee458 Mon Sep 17 00:00:00 2001 From: rodri Date: Wed, 8 Jun 2022 07:29:14 +0000 Subject: =?UTF-8?q?changed=20the=20transport=20from=20tcp=20to=20udp.=20go?= =?UTF-8?q?t=20rid=20of=20some=20unnecessary=20connection=20management=20a?= =?UTF-8?q?nd=20party=20setup=20code=E2=80=94needs=20further=20refactoring?= =?UTF-8?q?.=20fixed=20some=20nomenclatures.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- musw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'musw.c') diff --git a/musw.c b/musw.c index 51e124f..70a8a4b 100644 --- a/musw.c +++ b/musw.c @@ -68,7 +68,7 @@ readvmodel(char *file) if(bin == nil) sysfatal("Bopen: %r"); - mdl = emalloc(sizeof *mdl); + mdl = emalloc(sizeof(VModel)); mdl->pts = nil; mdl->npts = 0; mdl->strokefmt = nil; @@ -354,6 +354,8 @@ threadmain(int argc, char *argv[]) kchan = chancreate(sizeof kdown, 1); proccreate(kbdproc, nil, 4096); + /* TODO: draw a CONNECTING... sign */ + /* TODO: set up an alarm for n secs and update the sign */ fd = dial(server, nil, nil, nil); if(fd < 0) sysfatal("dial: %r"); -- cgit v1.2.3