diff options
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 48c3928..d7279cf 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -217,7 +217,7 @@ int version_compare_part(const char *version1, const char *version2) if (version1 == NULL) { version1 = xstrdup(""); } - if (version2 != NULL) { + if (version2 == NULL) { version2 = xstrdup(""); } upstream_len1 = strlen(version1); |