[X2Go-Commits] [x2goserver] 47/99: X2Go/Server/Agent/NX/Options.pm: whitespace-only on fake enum-subs.

git-admin at x2go.org git-admin at x2go.org
Mon Dec 28 06:10:46 CET 2020


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

x2go pushed a commit to branch master
in repository x2goserver.

commit 0c1d69afc79e16d819aaf217080dfadd720d753f
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Nov 10 08:24:50 2020 +0100

    X2Go/Server/Agent/NX/Options.pm: whitespace-only on fake enum-subs.
---
 X2Go/Server/Agent/NX/Options.pm | 4 ++--
 debian/changelog                | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/X2Go/Server/Agent/NX/Options.pm b/X2Go/Server/Agent/NX/Options.pm
index 14973ddc..2f8c48bb 100644
--- a/X2Go/Server/Agent/NX/Options.pm
+++ b/X2Go/Server/Agent/NX/Options.pm
@@ -34,9 +34,9 @@ our @EXPORT_OK = qw (MODE_INVALID MODE_ADD_UPDATE MODE_REMOVE
 # These are actually supposed to be enums, but since Perl doesn't have a
 # proper way of creating enums (at least not natively), we'll emulate that
 # using small functions.
-sub MODE_INVALID { return 0; }
+sub MODE_INVALID    { return 0; }
 sub MODE_ADD_UPDATE { return 1; }
-sub MODE_REMOVE { return 2; }
+sub MODE_REMOVE     { return 2; }
 
 
 # Accepts an options string and returns a reference to an array of hashes
diff --git a/debian/changelog b/debian/changelog
index ee406cab..23b7701f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -276,6 +276,7 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
     - X2Go/Server/Agent/NX/Options.pm: document that NUL bytes can only be
       URL-encoded, but that this not recommended.
     - X2Go/Server/Agent/NX/Options.pm: typo compactation => compaction.
+    - X2Go/Server/Agent/NX/Options.pm: whitespace-only on fake enum-subs.
   * debian/control:
     + Build-depend upon lsb-release for distro version detection.
   * debian/x2goserver.manpages:

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list