diff options
| author | Gordon Sim <gsim@apache.org> | 2010-04-14 12:23:21 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-04-14 12:23:21 +0000 |
| commit | d00cc63a79f570ad2d953bc9d8009a4c688546a9 (patch) | |
| tree | 047a2b0e0138a1bee7e16e4b6726c838a49b7d27 /qpid/cpp/src/tests | |
| parent | 08e9fcb5ec951f12f75502c75a166367097d11f8 (diff) | |
| download | qpid-python-d00cc63a79f570ad2d953bc9d8009a4c688546a9.tar.gz | |
Fix testagent for changes in r933842
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@933923 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rw-r--r-- | qpid/cpp/src/tests/testagent.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/qpid/cpp/src/tests/testagent.cpp b/qpid/cpp/src/tests/testagent.cpp index 61b47d83da..98520b424a 100644 --- a/qpid/cpp/src/tests/testagent.cpp +++ b/qpid/cpp/src/tests/testagent.cpp @@ -165,10 +165,6 @@ int main_int(int argc, char** argv) singleton = new ManagementAgent::Singleton(); const char* host = argc>1 ? argv[1] : "127.0.0.1"; int port = argc>2 ? atoi(argv[2]) : 5672; - qpid::client::ConnectionSettings settings; - - settings.host = host; - settings.port = port; signal(SIGINT, shutdown); @@ -180,7 +176,7 @@ int main_int(int argc, char** argv) // Start the agent. It will attempt to make a connection to the // management broker - agent->init(settings, 5, false, ".magentdata"); + agent->init(host, port, 5, false, ".magentdata"); // Allocate some core objects CoreClass core1(agent, "Example Core Object #1"); |
