summaryrefslogtreecommitdiff
path: root/lib/rpmvercmp.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-08-31 12:29:56 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-08-31 12:29:56 +0300
commit4ef65c9a4218f9b354b00708ee2126fb1b7bec74 (patch)
tree48adea6ba921d715af83d2e52a4bef38e6bbc87d /lib/rpmvercmp.c
parent1cd1eba2ab619afd17228e326dda0a1b1b4c9a2f (diff)
downloadrpm-4ef65c9a4218f9b354b00708ee2126fb1b7bec74.tar.gz
rpm-4ef65c9a4218f9b354b00708ee2126fb1b7bec74.tar.bz2
rpm-4ef65c9a4218f9b354b00708ee2126fb1b7bec74.zip
Replace equal/not equal uses of str[n]cmp() with rstreq[n] in misc helpers
Diffstat (limited to 'lib/rpmvercmp.c')
-rw-r--r--lib/rpmvercmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmvercmp.c b/lib/rpmvercmp.c
index 0cdcc6866..65dafee31 100644
--- a/lib/rpmvercmp.c
+++ b/lib/rpmvercmp.c
@@ -23,7 +23,7 @@ int rpmvercmp(const char * a, const char * b)
int isnum;
/* easy comparison to see if versions are identical */
- if (!strcmp(a, b)) return 0;
+ if (rstreq(a, b)) return 0;
strcpy(str1, a);
strcpy(str2, b);