Fix assertion to compare, and not assign

svn path=/trunk/netsurf/; revision=11045
This commit is contained in:
John Mark Bell 2010-12-13 08:10:29 +00:00
parent 650f884527
commit d9f8b8949e

View File

@ -1183,7 +1183,7 @@ nserror llcache_object_remove_user(llcache_object *object,
llcache_object_user *user)
{
assert(object->users != NULL);
assert(user->handle.object = object);
assert(user->handle.object == object);
assert((user->next != NULL) || (user->prev != NULL) ||
(object->users == user));