aboutsummaryrefslogtreecommitdiff
path: root/minilogd.c
AgeCommit message (Collapse)AuthorFiles
2009-03-09minilogd: ensure we free() the bufferGerardo Exequiel Pozzi1
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>
2009-03-09minilogd: Initialize values for accept()Gerardo Exequiel Pozzi1
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>
2009-03-09Fix minilogd headersGerardo Exequiel Pozzi1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Adjust minilogd's maximumsAaron Griffin1
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>
2008-01-08minilogd cleanup and warning fixesJonathan Frazier1
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>
2005-06-30added new netcfg stuff for roaming network profilesJudd Vinet1
2003-12-21upgpkg: initscripts 0.6Judd Vinet1