summaryrefslogtreecommitdiff
path: root/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
commit2100b4498daa1d89e2850196dca19bae1b4a6151 (patch)
tree638f3fb5435545e176a78e2229bb1f56e856e197 /cpp/src/tests
parentf4dc59ea3028b87c1f8640df02c2a73b5cafcf1a (diff)
downloadqpid-python-2100b4498daa1d89e2850196dca19bae1b4a6151.tar.gz
Check CPG flow control.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@683711 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/ForkedBroker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/ForkedBroker.h b/cpp/src/tests/ForkedBroker.h
index 6c20330c28..a7869ff602 100644
--- a/cpp/src/tests/ForkedBroker.h
+++ b/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]);