Rusty Russell
819078fe18
param: make command_fail/command_success WARN_UNUSED_RESULT.
...
This causes a compiler warning if we don't do something with the
result (hopefully return immediately!).
We use was_pending() to ignore the result in the case where we
complete a command in a callback (thus really do want to ignore
the result).
This actually fixes one bug: we didn't return after command_fail
in json_getroute with a bad seed value.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-12-20 03:22:32 +00:00
..
2018-12-20 03:22:32 +00:00
2017-10-20 18:31:32 +02:00
2018-12-20 03:22:32 +00:00
2018-09-19 13:21:21 +02:00
2018-12-20 03:22:32 +00:00
2018-12-20 03:22:32 +00:00
2018-12-10 22:25:32 +00:00
2018-08-10 12:46:45 +02:00
2018-08-23 14:46:22 +02:00
2018-12-06 23:11:51 +01:00
2018-12-06 23:11:51 +01:00
2018-12-15 13:50:15 +01:00
2018-04-26 05:47:57 +00:00
2018-12-20 03:22:32 +00:00
2018-08-09 19:44:27 +02:00
2018-12-20 03:22:32 +00:00
2018-07-25 02:13:52 +00:00
2018-10-19 22:02:11 +00:00
2018-10-19 22:02:11 +00:00
2018-09-20 09:49:39 +02:00
2018-09-20 09:49:39 +02:00
2018-10-23 16:55:35 +02:00
2018-10-09 23:17:54 +00:00
2018-12-20 03:22:32 +00:00
2018-01-16 13:03:54 +01:00
2018-12-10 00:00:50 +00:00
2018-12-10 00:00:50 +00:00
2018-12-20 03:22:32 +00:00
2018-12-20 03:22:32 +00:00
2018-12-20 03:22:32 +00:00
2018-12-20 03:22:32 +00:00
2018-12-14 05:36:34 +00:00
2018-12-10 00:00:50 +00:00
2018-07-30 11:31:17 +02:00
2018-02-07 00:46:49 +00:00
2018-12-20 03:22:32 +00:00
2018-12-20 03:22:32 +00:00
2018-12-10 00:00:50 +00:00
2018-12-20 03:22:32 +00:00
2018-11-22 05:15:42 +00:00
2018-11-22 05:15:42 +00:00
2018-04-25 14:33:38 +02:00
2018-12-20 03:22:32 +00:00
2018-11-22 05:15:42 +00:00
2018-12-20 03:22:32 +00:00
2018-11-13 00:44:50 +01:00
2018-12-20 03:22:32 +00:00
2018-10-19 22:02:11 +00:00
2018-12-20 03:22:32 +00:00
2018-02-16 13:08:29 +01:00
2018-12-20 03:22:32 +00:00
2018-11-22 05:15:42 +00:00
2018-12-20 03:22:32 +00:00
2018-10-23 16:55:35 +02:00
2018-12-20 03:22:32 +00:00
2018-09-14 22:11:23 +02:00
2018-12-20 03:22:32 +00:00
2018-12-10 00:00:50 +00:00
2018-12-10 00:00:50 +00:00
2018-12-10 00:00:50 +00:00
2018-08-21 00:48:02 +02:00
2018-08-21 00:48:02 +02:00