freebsd-ports/devel/libassa/files/patch-tests_charinbuffer_test.cpp
Rong-En Fan b46d1b7315 - 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>
2006-08-14 16:11:28 +00:00

11 lines
400 B
C++

--- 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] ));