aboutsummaryrefslogtreecommitdiff
path: root/debian/patches-pending-evaluation/patches_byerace.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-02-01 14:38:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-02-01 14:39:29 +0100
commit8ba08fa2e1d559ae7db06f92ac5157fd033d4a38 (patch)
tree65b841b163839323989586aa87ee23641a856f7f /debian/patches-pending-evaluation/patches_byerace.patch
parent2d226a609540168640a874a9bd26f54fbf478571 (diff)
downloadnx-libs-8ba08fa2e1d559ae7db06f92ac5157fd033d4a38.tar.gz
nx-libs-8ba08fa2e1d559ae7db06f92ac5157fd033d4a38.tar.bz2
nx-libs-8ba08fa2e1d559ae7db06f92ac5157fd033d4a38.zip
Providing pending patches in source tree.
Diffstat (limited to 'debian/patches-pending-evaluation/patches_byerace.patch')
-rw-r--r--debian/patches-pending-evaluation/patches_byerace.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches-pending-evaluation/patches_byerace.patch b/debian/patches-pending-evaluation/patches_byerace.patch
new file mode 100644
index 000000000..1a94f4b1f
--- /dev/null
+++ b/debian/patches-pending-evaluation/patches_byerace.patch
@@ -0,0 +1,23 @@
+Index: nxcomp-3.2.0-7/Loop.cpp
+===================================================================
+--- nxcomp-3.2.0-7.orig/Loop.cpp 2008-09-23 19:20:51.000000000 +0200
++++ nxcomp-3.2.0-7/Loop.cpp 2008-09-23 19:20:21.000000000 +0200
+@@ -7329,6 +7329,18 @@
+ << logofs_flush;
+ #endif
+
++ // Henning Heinold
++ // fix up error from libnxcl where bye can be in front of NXPROXY
++ if (strncmp(options, "bye", strlen("bye")) == 0)
++ {
++ int bye_length = strlen("bye");
++ char *moo = &options[bye_length+1];
++
++ memmove(options, moo, DEFAULT_REMOTE_OPTIONS_LENGTH-bye_length-1);
++ *logofs << "Loop: Cleanded the bye in options, options now looks '"
++ << options << "'.\n" << logofs_flush;
++ }
++
+ if (strncmp(options, "NXPROXY-", strlen("NXPROXY-")) != 0)
+ {
+ #ifdef PANIC