Hi, 

A user report when he log in to www.netmail.nl (it use https but the start page 
work) to get mails

he get this error

content/hlcache.c:257: failed assertion `handle != NULL'
Abort trap - Netsurf 

Netsurf is compile with assert check enable, but the function look 0 value safe 
and return 0, when
no handle is here.

Is it possible to remove the assert and output only a warning message instead ?
Or does then later netsurf crash ?

here is the code of this

struct content *hlcache_handle_get_content(const hlcache_handle *handle)
{
    assert(handle != NULL);

    if (handle->entry != NULL)
        return handle->entry->content;

    return NULL;
}

Bye


Reply via email to