From 2100b4498daa1d89e2850196dca19bae1b4a6151 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 7 Aug 2008 20:46:18 +0000 Subject: Check CPG flow control. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@683711 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/ForkedBroker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/tests') 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]); -- cgit v1.2.1