Subject: | get_suggestions() return |
this routine is defined to return an int, but it doesn't actually return
an int. Simple patch.
--- bloom.h 2009-06-21 19:19:08.000000000 -0500
+++ new_bloom.h 2012-12-17 16:36:07.000000000 -0600
@@ -101,7 +101,7 @@
int bloom_hash_old(bloom *bloom,char *str, int i);
BIGNUM find_close_prime(BIGNUM m);
-int get_suggestion(struct bloomstat *stats, BIGNUM n,double e);
+void get_suggestion(struct bloomstat *stats, BIGNUM n,double e);
int is_prime(BIGNUM m);
void get_rec (struct bloomstat *stat);
BIGNUM report_capacity(bloom *bloom);
--- suggestions.c 2010-05-31 19:49:14.000000000 -0500
+++ new_suggestions.c 2012-12-17 16:36:17.000000000 -0600
@@ -5,7 +5,7 @@
/* dmitriy ryaboy */
-int get_suggestion(struct bloomstat *stats, BIGNUM n,double e)
+void get_suggestion(struct bloomstat *stats, BIGNUM n,double e)
{
stats->capacity = n;
stats->e = e;