From 6a88eaf67a1a3edb667a104c881233c1ca696c8e Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 11 Apr 2010 14:39:26 +0000 Subject: [PATCH] Pedantic whitespace changes svn path=/trunk/netsurf/; revision=10356 --- content/llcache.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/content/llcache.c b/content/llcache.c index 655b0e728..1cff74f53 100644 --- a/content/llcache.c +++ b/content/llcache.c @@ -1039,7 +1039,8 @@ nserror llcache_object_remove_user(llcache_object *object, { assert(object->users != NULL); assert(user->handle.object = object); - assert((user->next != NULL) || (user->prev != NULL) || (object->users == user)); + assert((user->next != NULL) || (user->prev != NULL) || + (object->users == user)); if (user == object->users) object->users = user->next; @@ -1298,18 +1299,22 @@ nserror llcache_object_snapshot(llcache_object *object, llcache_object_destroy(newobj); return NSERROR_NOMEM; } - memcpy(newobj->source_data, object->source_data, newobj->source_len); + memcpy(newobj->source_data, object->source_data, + newobj->source_len); } if (object->num_headers > 0) { - newobj->headers = calloc(sizeof(llcache_header), object->num_headers); + newobj->headers = calloc(sizeof(llcache_header), + object->num_headers); if (newobj->headers == NULL) { llcache_object_destroy(newobj); return NSERROR_NOMEM; } while (newobj->num_headers < object->num_headers) { - llcache_header *nh = &(newobj->headers[newobj->num_headers]); - llcache_header *oh = &(object->headers[newobj->num_headers]); + llcache_header *nh = + &(newobj->headers[newobj->num_headers]); + llcache_header *oh = + &(object->headers[newobj->num_headers]); newobj->num_headers += 1; nh->name = strdup(oh->name); nh->value = strdup(oh->value);