Commit 8622058b8ed56cb0486543a0373894661acb0e68

Stefan Sperling 2018-01-23T13:53:21

Rename 'size' field in got_delta_base to 'delta_size'.

diff --git a/lib/delta.c b/lib/delta.c
index 9c70b67..97d9c8f 100644
--- a/lib/delta.c
+++ b/lib/delta.c
@@ -30,7 +30,7 @@
 
 struct got_delta_base *
 got_delta_base_open(const char *path_packfile, int type, off_t offset,
-    size_t size)
+    size_t delta_size)
 {
 	struct got_delta_base *base;
 
@@ -45,7 +45,7 @@ got_delta_base_open(const char *path_packfile, int type, off_t offset,
 	}
 	base->type = type;
 	base->offset = offset;
-	base->size = size;
+	base->delta_size = delta_size;
 	return base;
 }
 
diff --git a/lib/delta.h b/lib/delta.h
index 62886c7..b34485f 100644
--- a/lib/delta.h
+++ b/lib/delta.h
@@ -19,7 +19,7 @@ struct got_delta_base {
 	char *path_packfile;
 	off_t offset;
 	int type;
-	size_t size;
+	size_t delta_size;
 };
 
 struct got_delta_chain {