diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2015-02-27 12:20:32 -0500 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2015-04-04 13:41:26 -0400 |
commit | 3b2ee2b5bfc0d68525fee936e51297a9b6c629f1 (patch) | |
tree | 4b29fea9714746239648763b1f1a9f78be66101d /tests/random.c | |
parent | bc6b5174d362a01f6d638a4db6aaf2fd355db69c (diff) |
drmSL: Fix neighbor lookup
Commit e4a519635f75bde38aeb5b09f2ff4efbf73453e9:
Tidy up compile warnings by cleaning up types.
removed call to SLLocate which gutted the function of all functionality.
This patch restores the original behavior, with an additional fix
that zeros the update array in case SLLocate bails early.
v2: zero the update array instead of checking the return value.
SLLocate returns NULL both on failure and if the element is greater
than everything in the list
v3: Improve commit message
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/random.c')
0 files changed, 0 insertions, 0 deletions