Mark Beckwith
1a4f355a7b
param: add ok flag to struct command
...
Callers to param() can now optionally set a flag to see if command_fail was
called.
This is necessary because the `cmd` is freed in case of failure.
I spent a bit of time trying to extend the lifetime of the `cmd` to the end
of parse_request(), but the destructors still needed to be called when they
were, and it was getting ugly. So I took this minimal approach.
Signed-off-by: Mark Beckwith <wythe@intrig.com >
2018-09-25 15:11:45 +02:00
..
2018-09-25 15:11:45 +02:00
2017-10-20 18:31:32 +02:00
2018-09-19 13:21:21 +02:00
2018-09-19 13:21:21 +02:00
2018-09-03 15:55:42 +02:00
2018-09-03 05:01:40 +00:00
2018-09-20 09:49:39 +02:00
2018-08-10 12:46:45 +02:00
2018-08-23 14:46:22 +02:00
2018-09-20 09:49:39 +02:00
2018-08-23 14:46:22 +02:00
2018-08-25 00:33:12 +00:00
2018-04-26 05:47:57 +00:00
2018-09-20 09:49:39 +02:00
2018-08-09 19:44:27 +02:00
2018-09-21 00:24:12 +00:00
2018-07-25 02:13:52 +00:00
2018-09-21 00:24:12 +00:00
2018-09-21 00:24:12 +00:00
2018-09-20 09:49:39 +02:00
2018-09-20 09:49:39 +02:00
2018-08-24 19:54:32 +02:00
2018-08-24 19:54:32 +02:00
2018-09-25 05:21:00 +00:00
2018-01-16 13:03:54 +01:00
2018-09-20 02:41:28 +00:00
2018-09-03 00:40:27 +00:00
2018-07-29 16:27:38 +02:00
2018-09-25 15:11:45 +02:00
2018-09-25 15:11:45 +02:00
2018-09-14 22:11:23 +02:00
2018-09-14 22:11:23 +02:00
2018-07-30 11:31:17 +02:00
2018-02-07 00:46:49 +00:00
2018-09-14 22:12:13 +02:00
2018-08-20 01:02:25 +00:00
2018-09-20 09:49:39 +02:00
2018-09-25 15:11:45 +02:00
2018-09-20 09:49:39 +02:00
2018-04-25 14:33:38 +02:00
2018-09-20 09:49:39 +02:00
2018-08-09 19:44:27 +02:00
2018-09-04 14:36:05 +02:00
2018-05-05 17:55:10 +02:00
2018-09-25 15:11:45 +02:00
2018-09-03 00:40:27 +00:00
2018-09-03 00:40:27 +00:00
2018-07-30 03:04:45 +00:00
2018-09-03 00:40:27 +00:00
2018-02-16 13:08:29 +01:00
2018-09-20 09:49:39 +02:00
2018-09-03 05:01:40 +00:00
2018-09-03 05:01:40 +00:00
2018-09-03 05:01:40 +00:00
2018-09-14 22:11:23 +02:00
2018-09-14 22:11:23 +02:00
2018-09-20 09:49:39 +02:00
2018-09-20 09:49:39 +02:00
2018-08-21 00:48:02 +02:00
2018-08-21 00:48:02 +02:00