diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-02-25 15:42:35 -0500 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-02-25 20:46:49 +0000 |
commit | 11b5c15fdb815a2af400bfddef944dbac41a434a (patch) | |
tree | e7217ebcff4d4d9f7f95d0342b6776547e5537c3 /wsutil/crc10.c | |
parent | c55c57ad72acda8cbce2841bc237f966bad5ae5b (diff) | |
download | wireshark-11b5c15fdb815a2af400bfddef944dbac41a434a.tar.gz |
Remove trailing whitespace
Change-Id: I8116f63ff88687c8db3fd6e8e23b22ab2f759af0
Reviewed-on: https://code.wireshark.org/review/385
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Tested-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'wsutil/crc10.c')
-rw-r--r-- | wsutil/crc10.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/crc10.c b/wsutil/crc10.c index 7a4b1c4c5f..37fb8e3a6c 100644 --- a/wsutil/crc10.c +++ b/wsutil/crc10.c @@ -4,7 +4,7 @@ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> - * Copyright 1998 Gerald Combs + * Copyright 1998 Gerald Combs * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -77,7 +77,7 @@ guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr, { register int i; guint16 crc10_accum = 0; - + for (i = 0; i < data_blk_size; i++) { crc10_accum = ((crc10_accum << 8) & 0x3ff) ^ byte_crc10_table[( crc10_accum >> 2) & 0xff] @@ -89,7 +89,7 @@ guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr, crc10_accum = ((crc10_accum << 8) & 0x3ff) ^ byte_crc10_table[( crc10_accum >> 2) & 0xff] ^ ((crc10<<6) & 0xFF); - + return crc10_accum; } |