Less spam

svn path=/trunk/netsurf/; revision=10687
This commit is contained in:
John Mark Bell 2010-08-10 21:46:45 +00:00
parent 48b17a5aea
commit 00aeb20334
1 changed files with 8 additions and 2 deletions

View File

@ -1244,7 +1244,7 @@ nserror llcache_object_notify_users(llcache_object *object)
llcache_event event;
#ifdef LLCACHE_TRACE
LOG(("Notifying users of %p", object));
bool emitted_notify = false;
#endif
/**
@ -1281,9 +1281,15 @@ nserror llcache_object_notify_users(llcache_object *object)
next_user = user->next;
#ifdef LLCACHE_TRACE
if (handle->state != objstate)
if (handle->state != objstate) {
if (emitted_notify == false) {
LOG(("Notifying users of %p", object));
emitted_notify = true;
}
LOG(("User %p state: %d Object state: %d",
user, handle->state, objstate));
}
#endif
/* User: INIT, Obj: HEADERS, DATA, COMPLETE => User->HEADERS */