diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-08-10 21:46:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-08-10 21:46:45 +0000 |
commit | 00aeb20334eabb680bcfc1512f4bf58fdf5147a5 (patch) | |
tree | 585577952626d9002c0de5f9a7613c3e263f7b9c | |
parent | 48b17a5aea05ce997f72cd6a43d7cf12f419306d (diff) | |
download | netsurf-00aeb20334eabb680bcfc1512f4bf58fdf5147a5.tar.gz netsurf-00aeb20334eabb680bcfc1512f4bf58fdf5147a5.tar.bz2 |
Less spam
svn path=/trunk/netsurf/; revision=10687
-rw-r--r-- | content/llcache.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/content/llcache.c b/content/llcache.c index 98c3d72e2..c6049fe63 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -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 */ |