summaryrefslogtreecommitdiff
path: root/wsutil/crc10.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-02-25 15:42:35 -0500
committerBill Meier <wmeier@newsguy.com>2014-02-25 20:46:49 +0000
commit11b5c15fdb815a2af400bfddef944dbac41a434a (patch)
treee7217ebcff4d4d9f7f95d0342b6776547e5537c3 /wsutil/crc10.c
parentc55c57ad72acda8cbce2841bc237f966bad5ae5b (diff)
downloadwireshark-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.c6
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;
}