From 4ef65c9a4218f9b354b00708ee2126fb1b7bec74 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 31 Aug 2009 12:29:56 +0300 Subject: Replace equal/not equal uses of str[n]cmp() with rstreq[n] in misc helpers --- lib/rpmvercmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rpmvercmp.c') 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); -- cgit v1.2.3