chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make-secnet-sites: Do newline-trimming in pline()
[secnet.git]
/
log.c
diff --git
a/log.c
b/log.c
index ab94832caaa726aaac76c1d3d5ca03a2629d42b2..3a50a27ce47ab301ae317353f800fed9a2986b8b 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-22,7
+22,7
@@
static void vMessage(uint32_t class, const char *message, va_list args)
size_t bp;
char *nlp;
size_t bp;
char *nlp;
- if (s
ecnet_is_daemon
) {
+ if (s
ystem_log
) {
/* Messages go to the system log interface */
bp=strlen(buff);
assert(bp < MESSAGE_BUFLEN);
/* Messages go to the system log interface */
bp=strlen(buff);
assert(bp < MESSAGE_BUFLEN);
@@
-488,8
+488,7
@@
struct fdlog {
};
static int log_from_fd_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
};
static int log_from_fd_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
- int *timeout_io,
- const struct timeval *tv_now, uint64_t *now)
+ int *timeout_io)
{
struct fdlog *st=sst;
if (!st->finished) {
{
struct fdlog *st=sst;
if (!st->finished) {
@@
-500,8
+499,7
@@
static int log_from_fd_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
return 0;
}
return 0;
}
-static void log_from_fd_afterpoll(void *sst, struct pollfd *fds, int nfds,
- const struct timeval *tv_now, uint64_t *now)
+static void log_from_fd_afterpoll(void *sst, struct pollfd *fds, int nfds)
{
struct fdlog *st=sst;
int r,remain,i;
{
struct fdlog *st=sst;
int r,remain,i;