Skip to content
Commit 3b2ee2b5 authored by Jan Vesely's avatar Jan Vesely
Browse files

drmSL: Fix neighbor lookup



Commit e4a51963:
    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: default avatarJan Vesely <jan.vesely@rutgers.edu>
Acked-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent bc6b5174
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment