aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--utils.c1
2 files changed, 2 insertions, 1 deletions
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