[X2Go-Commits] [cups-x2go] 01/01: cups-x2go: fix print call...

git-admin at x2go.org git-admin at x2go.org
Tue Jun 16 03:51:41 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository cups-x2go.

commit f1f6a29d4260426e736e3ba9343dab0b91683d73
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Jun 16 03:43:03 2015 +0200

    cups-x2go: fix print call...
    
    Does not allow to separate parameters with a comma.
---
 cups-x2go        |    2 +-
 debian/changelog |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cups-x2go b/cups-x2go
index ea154da..f2fe3c0 100755
--- a/cups-x2go
+++ b/cups-x2go
@@ -269,7 +269,7 @@ if ($conv_fail) {
 
 syslog('debug', "cups-x2go processed postscript file $psFile to $pdfFile");
 
-print ($pdf_fh, $gs_out_data);
+print $pdf_fh $gs_out_data;
 close ($pdf_fh);
 
 # after we have created the PDF from CUPS's PS file, we can drop the PS file
diff --git a/debian/changelog b/debian/changelog
index c962d27..930a86d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ cups-x2go (3.0.1.3-0x2go1) UNRELEASED; urgency=low
       junk, instead of a "real" PDF file.
     - cups-x2go: use parentheses around function arguments.
     - cups-x2go: fix binmode() call, :raw layer is implicit.
+    - cups-x2go: fix print call... Does not allow to separate parameters with
+      a comma.
   * debian/control:
     - Add dependencies on perl-modules for core modules and ${perl:Depends}
       for perl itself.

--
Alioth's /srv/git/code.x2go.org/cups-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/cups-x2go.git


More information about the x2go-commits mailing list