summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-08-07 20:46:18 +0000
committerAlan Conway <aconway@apache.org>2008-08-07 20:46:18 +0000
commit50298721088696bcaed0dc156954b4de88d9d5f5 (patch)
tree0dd61b8b306f36e5e74713d9b1894c19f5cb1d2b /qpid/cpp/src/tests
parentdbc5d989894f52c4e3ca571ee6c9363c84796761 (diff)
downloadqpid-python-50298721088696bcaed0dc156954b4de88d9d5f5.tar.gz
Check CPG flow control.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683711 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rw-r--r--qpid/cpp/src/tests/ForkedBroker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/ForkedBroker.h b/qpid/cpp/src/tests/ForkedBroker.h
index 6c20330c28..a7869ff602 100644
--- a/qpid/cpp/src/tests/ForkedBroker.h
+++ b/qpid/cpp/src/tests/ForkedBroker.h
@@ -85,7 +85,7 @@ class ForkedBroker {
::close(pipeFds[1]);
FILE* f = ::fdopen(pipeFds[0], "r");
if (!f) throw ErrnoException("fopen failed");
- if (::fscanf(f, "%d", &port) != 1) throw ErrnoException("fscanf failed");
+ if (::fscanf(f, "%d", &port) != 1) throw ErrnoException("ill-formatted port");
}
else { // child
::close(pipeFds[0]);