[1850] in Moira Commits

home help back first fref pref prev next nref lref last post

/svn/moira r3996 - trunk/moira/gen

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Mar 30 11:41:04 2010

Date: Tue, 30 Mar 2010 11:40:58 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Message-Id: <201003301540.o2UFewKw030038@drugstore.mit.edu>
To: moira-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: zacheiss
Date: 2010-03-30 11:40:58 -0400 (Tue, 30 Mar 2010)
New Revision: 3996

Modified:
   trunk/moira/gen/cups-cluster.pc
   trunk/moira/gen/cups-print.pc
Log:
Abstraction barrier: violated

Modified: trunk/moira/gen/cups-cluster.pc
===================================================================
--- trunk/moira/gen/cups-cluster.pc	2010-03-26 18:07:56 UTC (rev 3995)
+++ trunk/moira/gen/cups-cluster.pc	2010-03-30 15:40:58 UTC (rev 3996)
@@ -273,7 +273,7 @@
 
       fprintf(out, "<Printer %s>\n",name);
       fprintf(out, "Info %s:%s\n", name, hwtype);
-      fprintf(out, "DeviceURI ipp://%s:631/printers/%s?waitprinter=false&waitjob=false\n", cupshosts, rp);
+      fprintf(out, "DeviceURI ipp://%s:631/printers/%s?waitprinter=false&waitjob=false\n", cupshosts, name);
       fprintf(out, "State Idle\n");	/* Always with the Idle */
       fprintf(out, "StateTime %ld\n", (long)time(NULL));
       fprintf(out, "Accepting Yes\n");

Modified: trunk/moira/gen/cups-print.pc
===================================================================
--- trunk/moira/gen/cups-print.pc	2010-03-26 18:07:56 UTC (rev 3995)
+++ trunk/moira/gen/cups-print.pc	2010-03-30 15:40:58 UTC (rev 3996)
@@ -277,7 +277,7 @@
 
       fprintf(out, "<Printer %s>\n",name);
       fprintf(out, "Info %s:%s\n", name, hwtype);
-      fprintf(out, "DeviceURI ipp://%s:631/printers/%s?waitprinter=false&waitjob=false\n", cupshosts, rp);
+      fprintf(out, "DeviceURI ipp://%s:631/printers/%s?waitprinter=false&waitjob=false\n", cupshosts, name);
       fprintf(out, "State Idle\n");	/* Always with the Idle */
       fprintf(out, "StateTime %ld\n", (long)time(NULL));
       fprintf(out, "Accepting Yes\n");


home help back first fref pref prev next nref lref last post