aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r--archival/dpkg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index c5deb0f71..7d31ad12e 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -352,7 +352,8 @@ static int search_package_hashtable(const unsigned name, const unsigned version,
352 * FIXME: I don't think this is very efficient, but I thought I'd keep 352 * FIXME: I don't think this is very efficient, but I thought I'd keep
353 * it simple for now until it proves to be a problem. 353 * it simple for now until it proves to be a problem.
354 */ 354 */
355static int search_for_provides(int needle, int start_at) { 355static int search_for_provides(int needle, int start_at)
356{
356 int i, j; 357 int i, j;
357 common_node_t *p; 358 common_node_t *p;
358 for (i = start_at + 1; i < PACKAGE_HASH_PRIME; i++) { 359 for (i = start_at + 1; i < PACKAGE_HASH_PRIME; i++) {