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

@@ -47,7 +47,7 @@ const u8 *msg_dequeue(struct msg_queue *q)
return msg;
}
int msg_is_fd(const u8 *msg)
int msg_extract_fd(const u8 *msg)
{
const u8 *p = msg + sizeof(u16);
size_t len = tal_count(msg) - sizeof(u16);