Skip to content

Commit

Permalink
Merge pull request #65 from devolo/the-real-prime
Browse files Browse the repository at this point in the history
libmdnsd: Make SPRIME actually a prime number

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit authored Oct 1, 2022
2 parents 2bc5a04 + 80d2422 commit 5fb29c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmdnsd/mdnsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <time.h>
#include <errno.h>

#define SPRIME 108 /* Size of query/publish hashes */
#define SPRIME 109 /* Size of query/publish hashes */
#define LPRIME 1009 /* Size of cache hash */

#define GC 86400 /* Brute force garbage cleanup
Expand Down

0 comments on commit 5fb29c7

Please sign in to comment.