diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 12:43:02 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 12:43:02 +0300 |
commit | 746070ebe15022b482d6b3a5d54499ba09c5aa00 (patch) | |
tree | 763a2a677d105ecff3679c47d2216ed69d6a3052 /lib/formats.c | |
parent | 4ef65c9a4218f9b354b00708ee2126fb1b7bec74 (diff) | |
download | rpm-746070ebe15022b482d6b3a5d54499ba09c5aa00.tar.gz rpm-746070ebe15022b482d6b3a5d54499ba09c5aa00.tar.bz2 rpm-746070ebe15022b482d6b3a5d54499ba09c5aa00.zip |
Replace equal/not equal uses of str[n]cmp() with rstreq[n] in header code
Diffstat (limited to 'lib/formats.c')
-rw-r--r-- | lib/formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formats.c b/lib/formats.c index ff9818fba..82e00ee05 100644 --- a/lib/formats.c +++ b/lib/formats.c @@ -621,7 +621,7 @@ void *rpmHeaderFormatFuncByName(const char *fmt) void *func = NULL; for (ext = rpmHeaderFormats; ext->name != NULL; ext++) { - if (!strcmp(ext->name, fmt)) { + if (rstreq(ext->name, fmt)) { func = ext->func; break; } |