gossipd: add debugging into io_loop.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-09-28 13:10:59 +09:30
parent 1398a208f8
commit c850e3c0a4
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ GOSSIPD_COMMON_OBJS := \
common/daemon_conn.o \
common/debug.o \
common/dev_disconnect.o \
common/io_debug.o \
common/msg_queue.o \
common/ping.o \
common/pseudorand.o \

View File

@ -13,6 +13,7 @@
#include <common/cryptomsg.h>
#include <common/daemon_conn.h>
#include <common/debug.h>
#include <common/io_debug.h>
#include <common/ping.h>
#include <common/status.h>
#include <common/timeout.h>
@ -773,6 +774,7 @@ int main(int argc, char *argv[])
struct daemon *daemon;
subdaemon_debug(argc, argv);
io_poll_override(debug_poll);
if (argc == 2 && streq(argv[1], "--version")) {
printf("%s\n", version());