]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
indent
authorDale Weiler <killfieldengine@gmail.com>
Sat, 23 Nov 2013 08:54:11 +0000 (03:54 -0500)
committerDale Weiler <killfieldengine@gmail.com>
Sat, 23 Nov 2013 08:54:11 +0000 (03:54 -0500)
util.c

diff --git a/util.c b/util.c
index e46f80edc64446843f80c626c477deb41187ed44..a9ceea027d4f7a38430d9edc738bf83ad3a30c15 100644 (file)
--- a/util.c
+++ b/util.c
@@ -191,7 +191,7 @@ uint16_t util_crc16(uint16_t current, const char *k, size_t len) {
 uint16_t util_crc16(const char *k, int len, const short clamp) {
     register uint16_t h= (uint16_t)0xFFFFFFFF;
     for (; len; --len, ++k)
-    h = util_crc16_table[(h^((unsigned char)*k))&0xFF]^(h>>8);
+        h = util_crc16_table[(h^((unsigned char)*k))&0xFF]^(h>>8);
     return (~h)%clamp;
 }
 #endif