*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
#define DEFAULT_REBOOT_SECONDS 86400
#define LAN_READ_CHUNK_SIZE 2048
/* Don't allow remote clients to consume all of our memory */
#define DEFAULT_REBOOT_SECONDS 86400
#define LAN_READ_CHUNK_SIZE 2048
/* Don't allow remote clients to consume all of our memory */
fprintf(f, "%s.%06ld: ", ts, tv.tv_usec);
}
fprintf(f, "%s.%06ld: ", ts, tv.tv_usec);
}
-static void write_log(char *buf, int len, char *fmt, ...)
+static void write_log(const char *buf, int len, const char *fmt, ...)