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:
Rusty Russell
2017-03-20 07:02:44 +10:30
parent cf6d25cad6
commit 8be18ccfa1
4 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ void msg_enqueue_fd(struct msg_queue *q, int fd);
const u8 *msg_dequeue(struct msg_queue *q);
/* Returns -1 if not an fd: close after sending. */
int msg_is_fd(const u8 *msg);
int msg_extract_fd(const u8 *msg);
#define msg_queue_wait(conn, q, next, arg) \
io_out_wait((conn), (q), (next), (arg))