summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/logger.c b/logger.c
index 8ce9685c62..46cce5f09d 100644
--- a/logger.c
+++ b/logger.c
@@ -86,12 +86,6 @@ struct Stream {
LIST_FIELDS(Stream, stream);
};
-#define IOVEC_SET_STRING(iovec, s) \
- do { \
- (iovec).iov_base = s; \
- (iovec).iov_len = strlen(s); \
- } while(false);
-
static int stream_log(Stream *s, char *p, usec_t timestamp) {
char header_priority[16], header_time[64], header_pid[16];