Migrate to OFOptionsParser

FossilOrigin-Name: f642e9dfbf67a6be7bf37d9df2cf3b037537a29c74387f49b0a0e82d6816d616
This commit is contained in:
Jonathan Schleifer 2025-03-02 14:42:43 +00:00
parent 1e8d1cfbef
commit 866e81fcde
12 changed files with 101 additions and 109 deletions

View file

@ -43,7 +43,7 @@ getint(uchar *&p)
};
void
sendstring(char *t, uchar *&p)
sendstring(const char *t, uchar *&p)
{
while (*t)
putint(p, *t++);
@ -184,7 +184,7 @@ main(int argc, char *argv[])
if (enet_initialize() < 0)
fatal("Unable to initialise network module");
initserver(true, uprate, sdesc, ip, master, passwd, maxcl);
initserver(true, uprate, sdesc, ip, master, @(passwd), maxcl);
return 0;
};
}
#endif