You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by pq...@apache.org on 2007/09/21 00:03:06 UTC
svn commit: r577944 - /apr/apr-util/trunk/memcache/apr_memcache.c
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;