aboutsummaryrefslogtreecommitdiff
path: root/dpkg.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-15 11:25:01 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-15 11:25:01 +0000
commit5ed43aef31e7040aa60ec5950c4096e3bebf5172 (patch)
treed9cd51fb61ab774e5d98c1f31c7388b8e3933004 /dpkg.c
parent286e212b8e99954e34be0edf7b021d604d81bf49 (diff)
downloadbusybox-w32-5ed43aef31e7040aa60ec5950c4096e3bebf5172.tar.gz
busybox-w32-5ed43aef31e7040aa60ec5950c4096e3bebf5172.tar.bz2
busybox-w32-5ed43aef31e7040aa60ec5950c4096e3bebf5172.zip
Fix version comparision bug
git-svn-id: svn://busybox.net/trunk/busybox@3292 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dpkg.c')
-rw-r--r--dpkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg.c b/dpkg.c
index 48c392894..d7279cfd0 100644
--- a/dpkg.c
+++ b/dpkg.c
@@ -217,7 +217,7 @@ int version_compare_part(const char *version1, const char *version2)
217 if (version1 == NULL) { 217 if (version1 == NULL) {
218 version1 = xstrdup(""); 218 version1 = xstrdup("");
219 } 219 }
220 if (version2 != NULL) { 220 if (version2 == NULL) {
221 version2 = xstrdup(""); 221 version2 = xstrdup("");
222 } 222 }
223 upstream_len1 = strlen(version1); 223 upstream_len1 = strlen(version1);