Assorted code cleanups
- Clear
-Wunused-macros
warnings whenarc4random_buf()
is available -
XdmcpWriteHeader
: drop unnecessary cast offree()
argument -
XdmcpWriteHeader
: usecalloc
instead ofmalloc
to alloc buffer
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
-Wunused-macros
warnings when arc4random_buf()
is availableXdmcpWriteHeader
: drop unnecessary cast of free()
argumentXdmcpWriteHeader
: use calloc
instead of malloc
to alloc buffer