commit 312fb51c9cc56cd9bc5dc1fb72c331b847a37eec
parent 502d03d4f3047bdbe7f223354f851b28e16167fd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 28 Feb 2016 17:35:34 +0100
use prime as seed for murmur3 seed (doesnt matter much)
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/sfeed_mbox.c b/sfeed_mbox.c
@@ -14,8 +14,7 @@
static char *line;
static size_t linesize;
static char host[256], *user, mtimebuf[32];
-
-static const uint32_t seed = 0x45931287;
+static const uint32_t seed = 1167266473;
/* Unescape / decode fields printed by string_print_encoded()
* "\\" to "\", "\t", to TAB, "\n" to newline. Unrecognised escape sequences
diff --git a/sfeed_tail.c b/sfeed_tail.c
@@ -25,8 +25,7 @@ struct bucket {
};
static struct bucket *buckets;
static struct bucket *bucket;
-
-static const uint32_t seed = 0x45931287;
+static const uint32_t seed = 1167266473;
static void
printfeed(FILE *fp, const char *feedname)