diff options
Diffstat (limited to 'nhrpd/reqid.c')
-rw-r--r-- | nhrpd/reqid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nhrpd/reqid.c b/nhrpd/reqid.c index e8ad518e5..08a007bdf 100644 --- a/nhrpd/reqid.c +++ b/nhrpd/reqid.c @@ -8,9 +8,10 @@ static unsigned int nhrp_reqid_key(void *data) return r->request_id; } -static int nhrp_reqid_cmp(const void *data, const void *key) +static bool nhrp_reqid_cmp(const void *data, const void *key) { const struct nhrp_reqid *a = data, *b = key; + return a->request_id == b->request_id; } |