Blob Blame Raw
diff -up cups-1.3.2/scheduler/cups-driverd.c.foomatic-recommended cups-1.3.2/scheduler/cups-driverd.c
--- cups-1.3.2/scheduler/cups-driverd.c.foomatic-recommended	2007-09-25 10:33:29.000000000 +0100
+++ cups-1.3.2/scheduler/cups-driverd.c	2007-09-25 10:34:03.000000000 +0100
@@ -180,7 +180,6 @@ add_ppd(const char *name,		/* I - PPD na
 	int        type)		/* I - Driver type */
 {
   ppd_info_t	*ppd;			/* PPD */
-  char		*recommended;		/* Foomatic driver string */
 
 
  /*
@@ -238,15 +237,6 @@ add_ppd(const char *name,		/* I - PPD na
   strlcpy(ppd->record.device_id, device_id, sizeof(ppd->record.device_id));
 
  /*
-  * Strip confusing (and often wrong) "recommended" suffix added by
-  * Foomatic drivers...
-  */
-
-  if ((recommended = strstr(ppd->record.make_and_model,
-                            " (recommended)")) != NULL)
-    *recommended = '\0';
-
- /*
   * Return the new PPD pointer...
   */