Fix for a677b72bd6d9d378daf9775966aa8ca574e26e67

This commit is contained in:
Nick Mathewson 2014-09-18 12:12:36 -04:00
parent fb57b8badc
commit 364c110687

View File

@ -54,7 +54,7 @@ struct evutil_weakrand_state weakrand_state;
static int
rand_int(int n)
{
return evutil_weakrand_(&weakrand_state);
return evutil_weakrand_(&weakrand_state) % n;
}
static void