apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r577944 - /apr/apr-util/trunk/memcache/apr_memcache.c
Date Thu, 20 Sep 2007 22:03:06 GMT
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;



Mime
View raw message