change spaces to tabs, align function parameters

This commit is contained in:
conanoc
2018-04-20 19:06:23 +09:00
committed by Christian Decker
parent 0733770559
commit 7170521895
2 changed files with 7 additions and 7 deletions

View File

@@ -1095,9 +1095,9 @@ bool routing_add_node_announcement(struct routing_state *rstate, const u8 *msg T
u8 *features, *addresses;
struct wireaddr *wireaddrs;
fromwire_node_announcement(tmpctx, msg,
&signature, &features, &timestamp,
&node_id, rgb_color, alias,
&addresses);
&signature, &features, &timestamp,
&node_id, rgb_color, alias,
&addresses);
node = get_node(rstate, &node_id);
@@ -1116,8 +1116,8 @@ bool routing_add_node_announcement(struct routing_state *rstate, const u8 *msg T
node->alias = tal_dup_arr(node, u8, alias, 32, 0);
replace_broadcast(node, rstate->broadcasts,
&node->node_announce_msgidx,
msg);
&node->node_announce_msgidx,
msg);
return true;
}

View File

@@ -68,7 +68,7 @@ void towire_route_hop(u8 **pptr, const struct route_hop *entry)
}
void fromwire_gossip_getchannels_entry(const u8 **pptr, size_t *max,
struct gossip_getchannels_entry *entry)
struct gossip_getchannels_entry *entry)
{
fromwire_short_channel_id(pptr, max, &entry->short_channel_id);
fromwire_pubkey(pptr, max, &entry->source);
@@ -86,7 +86,7 @@ void fromwire_gossip_getchannels_entry(const u8 **pptr, size_t *max,
}
void towire_gossip_getchannels_entry(u8 **pptr,
const struct gossip_getchannels_entry *entry)
const struct gossip_getchannels_entry *entry)
{
towire_short_channel_id(pptr, &entry->short_channel_id);
towire_pubkey(pptr, &entry->source);