Skip to content

Commit

Permalink
change spaces to tabs, align function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
conanoc authored and cdecker committed Apr 21, 2018
1 parent 0733770 commit 7170521
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions gossipd/routing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions lightningd/gossip_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 7170521

Please sign in to comment.