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 2005/10/28 09:06:25 UTC

svn commit: r329136 - /apr/apr-util/trunk/memcache/apr_memcache.c

Author: pquerna
Date: Fri Oct 28 00:06:24 2005
New Revision: 329136

URL: http://svn.apache.org/viewcvs?rev=329136&view=rev
Log:
Fix style of several if's. No functional changes. Noticed by Joe Orton.

Modified:
    apr/apr-util/trunk/memcache/apr_memcache.c

Modified: apr/apr-util/trunk/memcache/apr_memcache.c
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/memcache/apr_memcache.c?rev=329136&r1=329135&r2=329136&view=diff
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Fri Oct 28 00:06:24 2005
@@ -164,7 +164,7 @@
         i++;
     } while(i < mc->ntotal);
 
-    if(i == mc->ntotal) {
+    if (i == mc->ntotal) {
         ms = NULL;
     }
 
@@ -456,13 +456,13 @@
 
     rv = apr_brigade_split_line(conn->tb, conn->bb, APR_BLOCK_READ, BUFFER_SIZE);
 
-    if(rv != APR_SUCCESS) {
+    if (rv != APR_SUCCESS) {
         return rv;
     }
 
     rv = apr_brigade_flatten(conn->tb, conn->buffer, &bsize);
 
-    if(rv != APR_SUCCESS) {
+    if (rv != APR_SUCCESS) {
         return rv;
     }
 
@@ -471,7 +471,7 @@
 
     apr_brigade_cleanup(conn->tb);
 
-    if(rv != APR_SUCCESS) {
+    if (rv != APR_SUCCESS) {
         return rv;
     }
     return rv;
@@ -867,8 +867,9 @@
         rv = APR_NOTFOUND;
     }
     else {
-        if(new_value)
+        if (new_value) {
             *new_value = atoi(conn->buffer);
+        }
         rv = APR_SUCCESS;
     }
 
@@ -1217,8 +1218,9 @@
 
     ms_release_conn(ms, conn);
 
-    if(stats)
+    if (stats) {
         *stats = ret;
+    }
 
     return rv;
 }