Show More
@@ -80,7 +80,7 b' int splitlines(const char *a, int len, s' | |||||
80 | h = 0; |
|
80 | h = 0; | |
81 | for (p = a; p < a + len; p++) { |
|
81 | for (p = a; p < a + len; p++) { | |
82 | /* Leonid Yuriev's hash */ |
|
82 | /* Leonid Yuriev's hash */ | |
83 |
|
|
83 | h = (h * 1664525) + *p + 1013904223; | |
84 |
|
84 | |||
85 | if (*p == '\n' || p == plast) { |
|
85 | if (*p == '\n' || p == plast) { | |
86 | l->h = h; |
|
86 | l->h = h; |
General Comments 0
You need to be logged in to leave comments.
Login now