Return-Path: Delivered-To: apmail-incubator-thrift-commits-archive@minotaur.apache.org Received: (qmail 16256 invoked from network); 2 Apr 2009 23:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 23:52:02 -0000 Received: (qmail 25304 invoked by uid 500); 2 Apr 2009 23:52:02 -0000 Delivered-To: apmail-incubator-thrift-commits-archive@incubator.apache.org Received: (qmail 25273 invoked by uid 500); 2 Apr 2009 23:52:02 -0000 Mailing-List: contact thrift-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: thrift-dev@incubator.apache.org Delivered-To: mailing list thrift-commits@incubator.apache.org Received: (qmail 25264 invoked by uid 99); 2 Apr 2009 23:52:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 23:52:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 23:52:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 54F4623888EB; Thu, 2 Apr 2009 23:51:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r761481 - /incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h Date: Thu, 02 Apr 2009 23:51:39 -0000 To: thrift-commits@incubator.apache.org From: dreiss@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090402235139.54F4623888EB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dreiss Date: Thu Apr 2 23:51:39 2009 New Revision: 761481 URL: http://svn.apache.org/viewvc?rev=761481&view=rev Log: THRIFT-411. cpp: Make TNonblockingServer::connectionStackLimit_ accessors use the right type Modified: incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h Modified: incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h?rev=761481&r1=761480&r2=761481&view=diff ============================================================================== --- incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h (original) +++ incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h Thu Apr 2 23:51:39 2009 @@ -171,7 +171,7 @@ * * @return the current limit on TConnection pool size. */ - int getConnectionStackLimit() const { + size_t getConnectionStackLimit() const { return connectionStackLimit_; } @@ -180,7 +180,7 @@ * * @param sz the new limit for TConnection pool size. */ - void setConnectionStackLimit(int sz) { + void setConnectionStackLimit(size_t sz) { connectionStackLimit_ = sz; }