Lines Matching defs:log_message
80 char log_message[LINE_MAX];
228 if (t->log_message_size >= sizeof(t->log_message))
229 e = t->log_message + sizeof(t->log_message);
233 a = memchr(t->log_message, 0, t->log_message_size);
234 b = memchr(t->log_message, '\n', t->log_message_size);
248 e = t->log_message + t->log_message_size;
251 n = strndup(t->log_message, e - t->log_message);
254 while ((e < t->log_message + t->log_message_size) && (*e == 0 || *e == '\n'))
257 memmove(t->log_message, e, t->log_message + sizeof(t->log_message) - e);
258 t->log_message_size -= e - t->log_message;
344 l = read(fd, t->log_message + t->log_message_size, sizeof(t->log_message) - t->log_message_size);