Mercurial > hg > nginx-quic
comparison src/core/ngx_crc32.h @ 1697:d6afb8723155
fix r1695
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 08 Dec 2007 22:12:37 +0000 |
parents | 8c696afe46b3 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
1696:f5f124fbfa3b | 1697:d6afb8723155 |
---|---|
51 | 51 |
52 #define ngx_crc32_init(crc) \ | 52 #define ngx_crc32_init(crc) \ |
53 crc = 0xffffffff | 53 crc = 0xffffffff |
54 | 54 |
55 | 55 |
56 static void | 56 static ngx_inline void |
57 ngx_crc32_update(uint32_t *crc, u_char *p, size_t len) | 57 ngx_crc32_update(uint32_t *crc, u_char *p, size_t len) |
58 { | 58 { |
59 uint32_t c; | 59 uint32_t c; |
60 | 60 |
61 c = *crc; | 61 c = *crc; |