No subject


Wed Sep 14 05:12:10 PDT 2011


I fixed that bug in a  irregular way.But it works right now.I know that way is
not correctly,but can make the client work without no palette id exception.
     Just in the client/cache.hpp:
        T* get(uint64_t id)
        {
retry:
Item* item = _hash[key(id)];

        while (item && item->id != id) {
            item = item->next;
        }

        if (!item) {
id = key(id) + rand();
goto retry;
        }
        return Treat::get(item->data);
    }

It's just to avoid the exception.I really want know the right way to fix this
bug.If you have any suggesstion,please tell me.

Thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list