mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd/msg_queue: rename msg_is_fd to msg_extract_fd
Suggested-by: Christian Decker Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -309,7 +309,7 @@ static struct io_plan *msg_send_next(struct io_conn *conn, struct subd *sd)
|
||||
if (!msg)
|
||||
return msg_queue_wait(conn, &sd->outq, msg_send_next, sd);
|
||||
|
||||
fd = msg_is_fd(msg);
|
||||
fd = msg_extract_fd(msg);
|
||||
if (fd >= 0) {
|
||||
tal_free(msg);
|
||||
return io_send_fd(conn, fd, true, msg_send_next, sd);
|
||||
|
||||
Reference in New Issue
Block a user