summaryrefslogtreecommitdiff
path: root/devel/libassa/files/patch-tests_charinbuffer_test.cpp
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-08-14 16:11:28 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-08-14 16:11:28 +0000
commitb46d1b73152afed816172ad8807da6b439d7f981 (patch)
treed53c7680190f978fd79c4ab8111ce12ff23baf30 /devel/libassa/files/patch-tests_charinbuffer_test.cpp
parentUpdate to 0.37 (diff)
- Update to 3.4.1
- Replace deprecated variables (INSTALLS_SHLIB) - Pet portlint(1) for BROKEN msg - Pass maintainership to submitter PR: ports/101945 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
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] ));
+