diff options
| author | Joe Perches <joe@perches.com> | 2010-08-30 00:24:53 -0700 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2010-08-30 13:23:08 -0700 |
| commit | d295e8e97acae13552a5b220d3fbcff8201064a2 (patch) | |
| tree | eb90646c3c927a62fd2f520eb5fcd602297b1a79 /lib/ofp-util.c | |
| parent | 90a249dc93ccabd398b64092121b07e5af2d8c2d (diff) | |
| download | openvswitch-d295e8e97acae13552a5b220d3fbcff8201064a2.tar.gz | |
treewide: Remove trailing whitespace
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/ofp-util.c')
| -rw-r--r-- | lib/ofp-util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ofp-util.c b/lib/ofp-util.c index fd54a03ed..89f368950 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -125,10 +125,10 @@ put_openflow_xid(size_t openflow_len, uint8_t type, uint32_t xid, /* Updates the 'length' field of the OpenFlow message in 'buffer' to * 'buffer->size'. */ void -update_openflow_length(struct ofpbuf *buffer) +update_openflow_length(struct ofpbuf *buffer) { struct ofp_header *oh = ofpbuf_at_assert(buffer, 0, sizeof *oh); - oh->length = htons(buffer->size); + oh->length = htons(buffer->size); } struct ofpbuf * @@ -303,7 +303,7 @@ make_echo_reply(const struct ofp_header *rq) } static int -check_message_type(uint8_t got_type, uint8_t want_type) +check_message_type(uint8_t got_type, uint8_t want_type) { if (got_type != want_type) { char *want_type_name = ofp_message_type_to_string(want_type); |
