/[mldonkey]/mldonkey/src/utils/lib/fst_hash.c
ViewVC logotype

Diff of /mldonkey/src/utils/lib/fst_hash.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by spiralvoice, Mon Aug 1 23:53:55 2005 UTC revision 1.4 by spiralvoice, Sat Dec 10 19:44:28 2005 UTC
# Line 181  static unsigned int fst_hash_small (unsi Line 181  static unsigned int fst_hash_small (unsi
181  #include "caml/mlvalues.h"  #include "caml/mlvalues.h"
182    
183  /* returns checksum of fzhash */  /* returns checksum of fzhash */
184  uint16 fst_hash_checksum (unsigned char *hash)  unsigned short fst_hash_checksum (unsigned char *hash)
185  {  {
186          uint16 sum = 0;          unsigned short sum = 0;
187          int i;          int i;
188    
189          /* calculate 2 byte checksum used in the URL from 20 byte fthash */          /* calculate 2 byte checksum used in the URL from 20 byte fthash */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26