mirror of
https://github.com/curl/curl.git
synced 2026-07-28 19:23:06 +03:00
parent
a1e4e81431
commit
aec28f3ad3
1 changed files with 1 additions and 0 deletions
|
|
@ -223,6 +223,7 @@ int Curl_splayremove(struct Curl_tree *t,
|
|||
if(compare(SPLAY_SUBNODE, removenode->key) == 0) {
|
||||
/* It is a subnode within a 'same' linked list and thus we can unlink it
|
||||
easily. */
|
||||
DEBUGASSERT(removenode->samen != removenode);
|
||||
if(removenode->samen == removenode)
|
||||
/* A non-subnode should never be set to SPLAY_SUBNODE */
|
||||
return 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue