diff options
author | antirez <antirez@gmail.com> | 2014-06-26 18:48:40 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-06-26 18:48:40 +0200 |
commit | 95b1979c321eb6353f75df892ab8be68cf8f9a77 (patch) | |
tree | 0e9aab40f1c669572ea2830a080b2e6b0e350a4b /src/crc16.c | |
parent | 97f1fc65cf0331a367c2075c3adf09964dda2556 (diff) | |
download | redis-95b1979c321eb6353f75df892ab8be68cf8f9a77.tar.gz |
No more trailing spaces in Redis source code.
Diffstat (limited to 'src/crc16.c')
-rw-r--r-- | src/crc16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crc16.c b/src/crc16.c index 398ad73fb..1ec9161c9 100644 --- a/src/crc16.c +++ b/src/crc16.c @@ -1,6 +1,6 @@ #include "redis.h" -/* +/* * Copyright 2001-2010 Georges Menie (www.menie.org) * Copyright 2010-2012 Salvatore Sanfilippo (adapted to Redis coding style) * All rights reserved. @@ -78,7 +78,7 @@ static const uint16_t crc16tab[256]= { 0xef1f,0xff3e,0xcf5d,0xdf7c,0xaf9b,0xbfba,0x8fd9,0x9ff8, 0x6e17,0x7e36,0x4e55,0x5e74,0x2e93,0x3eb2,0x0ed1,0x1ef0 }; - + uint16_t crc16(const char *buf, int len) { int counter; uint16_t crc = 0; |