diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-26 10:49:46 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:35 +0200 |
commit | e1fbee0071ad6bb5d5c17865c5a7b67a63930e7d (patch) | |
tree | e65b02be9d362e98aa32ad994c31465c94b341ee /test/day-002.sh | |
parent | b8b6830dfd75f6870b2171e7f31cb0cdb927532e (diff) | |
download | calcurse-e1fbee0071ad6bb5d5c17865c5a7b67a63930e7d.tar.gz calcurse-e1fbee0071ad6bb5d5c17865c5a7b67a63930e7d.zip |
src/llist.c: Compare data pointers if callback is NULL
If a NULL callback is passed to llist_find_*(), fall back to comparing
data pointers. The check for a NULL callback pointer is done outside the
main loop with an eye towards performance.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/day-002.sh')
0 files changed, 0 insertions, 0 deletions