mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 15:24:43 +00:00
lib: fix xref hash calculation
... to make it do what it says it does. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
a3c6749860
commit
833a54b757
@ -93,8 +93,6 @@ static void xref_add_one(const struct xref *xref)
|
|||||||
q = memrchr(filename, '/', p - filename);
|
q = memrchr(filename, '/', p - filename);
|
||||||
if (q)
|
if (q)
|
||||||
filename = q + 1;
|
filename = q + 1;
|
||||||
else
|
|
||||||
filename = p + 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SHA256_Init(&sha);
|
SHA256_Init(&sha);
|
||||||
|
Loading…
Reference in New Issue
Block a user