[LON-CAPA-cvs] cvs: loncom /cgi graph.png

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 16 Oct 2003 19:54:42 -0000


albertel		Thu Oct 16 15:54:42 2003 EDT

  Modified files:              
    /loncom/cgi	graph.png 
  Log:
  - can't return outside of a subroutine
  
  
Index: loncom/cgi/graph.png
diff -u loncom/cgi/graph.png:1.25 loncom/cgi/graph.png:1.26
--- loncom/cgi/graph.png:1.25	Wed Oct 15 17:08:39 2003
+++ loncom/cgi/graph.png	Thu Oct 16 15:54:42 2003
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: graph.png,v 1.25 2003/10/15 21:08:39 matthew Exp $
+# $Id: graph.png,v 1.26 2003/10/16 19:54:42 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -78,7 +78,7 @@
 </body>
 </html>
 END
-    return;
+    exit;
 }
 
 $|=1;   # Autoflush after each print/write