wm: glendy

Download patch

ref: 5ff89c8a9f0ba9d27ececc0ee864b3404deadcc4
parent: 5addf5da4126128525f84f359a35c0d54012426a
author: mkf <mkf@cloud9p.org>
date: Thu Apr 25 05:03:39 EDT 2024

srv: don't check for argc

--- a/srv.c
+++ b/srv.c
@@ -414,11 +414,6 @@
 	ptype[0] = Human;
 	ptype[1] = Human;
 
-	if(argc != 2)
-	{
-		fprintf(stderr, "usage: %s <port>\n", argv[0]);
-		exit(1);
-	}
 	port = 1768;
 	
 	listenfd = setuplistener(port);