diff options
author | Alan Conway <aconway@apache.org> | 2007-03-28 21:45:06 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-03-28 21:45:06 +0000 |
commit | 7cd249e7965f9b35050fa7504991a9facf0d1fbb (patch) | |
tree | ff1f4fbe4dd0772dd13b55b1ebfc90ad4c529019 /qpid/cpp/tests/MockConnectionInputHandler.h | |
parent | 2f758d6131675cd025dfe7c08d55758b7536d638 (diff) | |
download | qpid-python-7cd249e7965f9b35050fa7504991a9facf0d1fbb.tar.gz |
* cpp/tests/run-unit-tests,setup: use valgrind --log-file rather than
redirecting stderr. Redirecting also swallows DllPlugInTester output.
* cpp/lib/common/sys/Acceptor.h: getPort() to return uint16_t, not int16t.
Note AcceptorTest is not inclued in Makefile.am. I fixed it to compile
but it hangs, need to determine if it's a test or an Acceptor bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@523473 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/MockConnectionInputHandler.h')
-rw-r--r-- | qpid/cpp/tests/MockConnectionInputHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/tests/MockConnectionInputHandler.h b/qpid/cpp/tests/MockConnectionInputHandler.h index b039e244d9..55dbceaf44 100644 --- a/qpid/cpp/tests/MockConnectionInputHandler.h +++ b/qpid/cpp/tests/MockConnectionInputHandler.h @@ -30,9 +30,9 @@ struct MockConnectionInputHandler : public qpid::sys::ConnectionInputHandler { ~MockConnectionInputHandler() {} - void initiated(qpid::framing::ProtocolInitiation* pi) { + void initiated(const qpid::framing::ProtocolInitiation& pi) { qpid::sys::Monitor::ScopedLock l(monitor); - init = *pi; + init = pi; setState(GOT_INIT); } |