diff options
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 163d91f19..2180d1868 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -1316,8 +1316,8 @@ static void list_packages(void) | |||
1316 | /* go through status hash, dereference package hash and finally strings */ | 1316 | /* go through status hash, dereference package hash and finally strings */ |
1317 | for (i=0; i<STATUS_HASH_PRIME+1; i++) { | 1317 | for (i=0; i<STATUS_HASH_PRIME+1; i++) { |
1318 | 1318 | ||
1319 | if (status_hashtable[i]) { | 1319 | if (status_hashtable[i]) { |
1320 | const char *stat_str; /* status string */ | 1320 | const char *stat_str; /* status string */ |
1321 | const char *name_str; /* package name */ | 1321 | const char *name_str; /* package name */ |
1322 | const char *vers_str; /* version */ | 1322 | const char *vers_str; /* version */ |
1323 | char s1, s2; /* status abbreviations */ | 1323 | char s1, s2; /* status abbreviations */ |
@@ -1333,7 +1333,7 @@ static void list_packages(void) | |||
1333 | 1333 | ||
1334 | /* get abbreviation for status field 2 */ | 1334 | /* get abbreviation for status field 2 */ |
1335 | for (j=0, spccnt=0; stat_str[j] && spccnt<2; j++) { | 1335 | for (j=0, spccnt=0; stat_str[j] && spccnt<2; j++) { |
1336 | if (stat_str[j] == ' ') spccnt++; | 1336 | if (stat_str[j] == ' ') spccnt++; |
1337 | } | 1337 | } |
1338 | s2 = stat_str[j]; | 1338 | s2 = stat_str[j]; |
1339 | 1339 | ||