Age | Commit message (Collapse) | Author | Files |
|
This isn't strictly needed, as memory is cleaned up
on exit anyway, but let's shoot for good form :)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
From the accept(2) manpage:
The addrlen argument is a value-result argument: the caller must initialize it
to contain the size (in bytes) of the structure pointed to by addr; on return it
will contain the actual size of the peer address.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
A max of 200000 lines stored, at 8K per line, was a little
ridiculous and soaked up way to much memory if a syslogger
was not started. Drop the max to 10000 so that we don't kill
the user's system.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
gcc gives a warning about signed/unsigned ints, and it tries to write to
syslog's /dev/log with a dgram socket which gives an EPROTOCOL error.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
|