Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 54795 invoked from network); 20 Sep 2007 22:03:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 22:03:29 -0000 Received: (qmail 98681 invoked by uid 500); 20 Sep 2007 22:03:20 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 98588 invoked by uid 500); 20 Sep 2007 22:03:20 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 98576 invoked by uid 99); 20 Sep 2007 22:03:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 15:03:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 22:05:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A23DA1A9832; Thu, 20 Sep 2007 15:03:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r577944 - /apr/apr-util/trunk/memcache/apr_memcache.c Date: Thu, 20 Sep 2007 22:03:06 -0000 To: commits@apr.apache.org From: pquerna@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070920220306.A23DA1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pquerna Date: Thu Sep 20 15:03:05 2007 New Revision: 577944 URL: http://svn.apache.org/viewvc?rev=577944&view=rev Log: Small style cleanups, no functional changes. Modified: apr/apr-util/trunk/memcache/apr_memcache.c Modified: apr/apr-util/trunk/memcache/apr_memcache.c URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/memcache/apr_memcache.c?rev=577944&r1=577943&r2=577944&view=diff ============================================================================== --- apr/apr-util/trunk/memcache/apr_memcache.c (original) +++ apr/apr-util/trunk/memcache/apr_memcache.c Thu Sep 20 15:03:05 2007 @@ -752,16 +752,18 @@ apr_size_t len = 0; start = conn->buffer; - flags = apr_strtok(conn->buffer," ",&last); - flags = apr_strtok(NULL," ",&last); - flags = apr_strtok(NULL," ",&last); + flags = apr_strtok(conn->buffer, " ", &last); + flags = apr_strtok(NULL, " ", &last); + flags = apr_strtok(NULL, " ", &last); - if (flags_) + if (flags_) { *flags_ = atoi(flags); + } - length = apr_strtok(NULL," ",&last); - if (lenth) + length = apr_strtok(NULL, " ", &last); + if (lenth) { len = atoi(length); + } if (len < 0) { *new_length = 0;