commit 5a2e13f79259a3935a3d6aa3cb242d1e33877ef9 from: Stefan Sperling date: Tue Jan 23 12:54:51 2018 UTC undo previous, a delta base might be a plain object so 'size' is better commit - 8622058b8ed56cb0486543a0373894661acb0e68 commit + 5a2e13f79259a3935a3d6aa3cb242d1e33877ef9 blob - 97d9c8fd80a32f6e156781cc00f7af14c04c2f7d blob + 9c70b677f3a1b9e8dafc55e075a180cdf42e887d --- lib/delta.c +++ 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 delta_size) + size_t size) { struct got_delta_base *base; @@ -45,7 +45,7 @@ got_delta_base_open(const char *path_packfile, int typ } base->type = type; base->offset = offset; - base->delta_size = delta_size; + base->size = size; return base; } blob - b34485fe16efb1e3d40c7443f306a1d4dc97273d blob + 62886c7c82e09b5d1c86b0ca6f0a878d32fdd799 --- lib/delta.h +++ lib/delta.h @@ -19,7 +19,7 @@ struct got_delta_base { char *path_packfile; off_t offset; int type; - size_t delta_size; + size_t size; }; struct got_delta_chain {