write_irix_config() uses attr variable without defining it

Albert Chin china at foo.com
Fri May 12 17:52:31 PDT 2006


write_irix_config() in scheduler/printers.c contains an #ifdef __sgi
section. It uses the attr variable but does not define it. The patch
below assumes attr should be ipp_attribute_t *.

-- 
albert chin

-- snip snip
Index: scheduler/printers.c
===================================================================
--- scheduler/printers.c	(revision 5521)
+++ scheduler/printers.c	(working copy)
@@ -3033,6 +3033,7 @@
 {
   char		filename[1024];		/* Interface script filename */
   cups_file_t	*fp;			/* Interface script file */
+  ipp_attribute_t	*attr;		/* Attribute data */
 
 
 




More information about the cups-devel mailing list