summaryrefslogtreecommitdiff
path: root/cups/ppd.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-10-15 21:06:58 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-10-15 21:06:58 +0000
commit6e8b116d7f9487b7ffec4be46bbbffd3dd13b863 (patch)
tree69d128f6f9f79e4760d56bbc12e146eeaa936ef2 /cups/ppd.c
parent758a062febd4bd91eb33c545b14a690ea0687fc3 (diff)
downloadcups-6e8b116d7f9487b7ffec4be46bbbffd3dd13b863.tar.gz
Merge CUPS 1.4svn-r8058 (tentative CUPS 1.4b1)
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1016 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/ppd.c')
-rw-r--r--cups/ppd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/cups/ppd.c b/cups/ppd.c
index 01eae8d82..065be64b4 100644
--- a/cups/ppd.c
+++ b/cups/ppd.c
@@ -2231,13 +2231,7 @@ static int /* O - Result of comparison */
ppd_compare_attrs(ppd_attr_t *a, /* I - First attribute */
ppd_attr_t *b) /* I - Second attribute */
{
- int ret; /* Result of comparison */
-
-
- if ((ret = strcasecmp(a->name, b->name)) != 0)
- return (ret);
- else
- return (strcasecmp(a->spec, b->spec));
+ return (strcasecmp(a->name, b->name));
}