[Pkg-nx-commits] r69 - nxcomp2/trunk/debian/patches
Per Olofsson
pelle at costa.debian.org
Tue Sep 19 18:13:56 UTC 2006
Author: pelle
Date: 2006-09-19 18:13:56 +0000 (Tue, 19 Sep 2006)
New Revision: 69
Added:
nxcomp2/trunk/debian/patches/usage-to-stdout
Modified:
nxcomp2/trunk/debian/patches/series
Log:
added patches/usage-to-stdout
Modified: nxcomp2/trunk/debian/patches/series
===================================================================
--- nxcomp2/trunk/debian/patches/series 2006-09-19 18:03:13 UTC (rev 68)
+++ nxcomp2/trunk/debian/patches/series 2006-09-19 18:13:56 UTC (rev 69)
@@ -1,2 +1,3 @@
enable-pic
configure-use-flags
+usage-to-stdout
Added: nxcomp2/trunk/debian/patches/usage-to-stdout
===================================================================
--- nxcomp2/trunk/debian/patches/usage-to-stdout (rev 0)
+++ nxcomp2/trunk/debian/patches/usage-to-stdout 2006-09-19 18:13:56 UTC (rev 69)
@@ -0,0 +1,22 @@
+Index: nxcomp2/Loop.cpp
+===================================================================
+--- nxcomp2.orig/Loop.cpp 2006-09-19 20:12:08.000000000 +0200
++++ nxcomp2/Loop.cpp 2006-09-19 20:12:46.000000000 +0200
+@@ -14835,13 +14835,12 @@
+ if (error == 1)
+ {
+ cerr << "Error" << ": Invalid command line option '" << option << "'.\n";
++ cerr << GetUsageInfo();
++ cerr << "Error" << ": NX transport initialization failed.\n";
+ }
+-
+- cerr << GetUsageInfo();
+-
+- if (error == 1)
++ else
+ {
+- cerr << "Error" << ": NX transport initialization failed.\n";
++ cout << GetUsageInfo();
+ }
+ }
+
More information about the Pkg-nx-commits
mailing list