summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/hashsum_template.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-07-13 23:10:38 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-07-13 23:10:38 +0200
commit1dab797ca6dc0357474675a0f132c962dee4a2c2 (patch)
treef2b6a5fbef520da33a48b9f769511e0c85082c04 /apt-pkg/contrib/hashsum_template.h
parent96c9fb174df24fadcde516f26f89d1a64f42eea7 (diff)
enable Hashes::AddFD() to skip creation of certain hashes
Diffstat (limited to 'apt-pkg/contrib/hashsum_template.h')
-rw-r--r--apt-pkg/contrib/hashsum_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/hashsum_template.h b/apt-pkg/contrib/hashsum_template.h
index 2847f3308..85d94c2af 100644
--- a/apt-pkg/contrib/hashsum_template.h
+++ b/apt-pkg/contrib/hashsum_template.h
@@ -101,7 +101,7 @@ class SummationImplementation
inline bool Add(const char *Beg, const char *End)
{ return Add((const unsigned char *)Beg, End - Beg); };
- bool AddFD(int Fd, unsigned long Size);
+ bool AddFD(int Fd, unsigned long Size = 0);
};
#endif