diff --git a/ase/lib/cmn/sll.c b/ase/lib/cmn/sll.c index 50e8fbd8..1602fbdf 100644 --- a/ase/lib/cmn/sll.c +++ b/ase/lib/cmn/sll.c @@ -152,6 +152,7 @@ comper_t ase_sll_getcomper (sll_t* sll) void ase_sll_setcomper (sll_t* sll, comper_t comper) { + if (comper == ASE_NULL) comper = comp_data; sll->comper = comper; }