summaryrefslogtreecommitdiff
path: root/devel/libassa/files/patch-tests_charinbuffer_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libassa/files/patch-tests_charinbuffer_test.cpp')
-rw-r--r--devel/libassa/files/patch-tests_charinbuffer_test.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libassa/files/patch-tests_charinbuffer_test.cpp b/devel/libassa/files/patch-tests_charinbuffer_test.cpp
new file mode 100644
index 000000000000..cad5bf51c248
--- /dev/null
+++ b/devel/libassa/files/patch-tests_charinbuffer_test.cpp
@@ -0,0 +1,11 @@
+--- tests/charinbuffer_test.cpp.orig Sat Aug 12 23:02:38 2006
++++ tests/charinbuffer_test.cpp Sat Aug 12 23:03:00 2006
+@@ -596,7 +596,7 @@
+ IPv4Socket& s = *this;
+
+ if (state () == Task2::start) {
+- Assure_exit (s.write (&REQUEST [m_idx], 1) == 1);
++ Assure_exit (s.write (&((REQUEST.c_str())[m_idx]), 1) == 1);
+ s << flush;
+ DL((APP,"<== Sent \"%c\" to Loopback\n", REQUEST [m_idx] ));
+