From 0ec0a7779a9fb5cb1c4b73acac8dd2aefb80de5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Thu, 12 Feb 2015 02:33:15 +0100
Subject: [PATCH] Tiny fixes
---
CMakeLists.txt | 2 +-
utils.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0fb648a..e3915df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -104,7 +104,7 @@ foreach (page ${PROJECT_NAME})
add_custom_command (OUTPUT ${page_output}
COMMAND ${HELP2MAN_EXECUTABLE} -N
"${PROJECT_BINARY_DIR}/${page}" -o ${page_output}
- DEPENDS ${PROJECT_NAME}
+ DEPENDS ${page}
COMMENT "Generating man page for ${page}" VERBATIM)
endforeach (page)
diff --git a/utils.c b/utils.c
index 85ac38b..3eb7b1d 100644
--- a/utils.c
+++ b/utils.c
@@ -1081,6 +1081,7 @@ poller_init (struct poller *self)
self->revents_len = 0;
poller_timers_init (&self->timers);
+ self->idle = NULL;
}
static void