apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r329138 - /apr/apr-util/trunk/memcache/apr_memcache.c
Date Fri, 28 Oct 2005 07:10:16 GMT
Author: pquerna
Date: Fri Oct 28 00:10:13 2005
New Revision: 329138

URL: http://svn.apache.org/viewcvs?rev=329138&view=rev
Log:
More style fixes to make it closer to the official APR Style. 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/viewcvs/apr/apr-util/trunk/memcache/apr_memcache.c?rev=329138&r1=329137&r2=329138&view=diff
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Fri Oct 28 00:10:13 2005
@@ -260,8 +260,8 @@
 {
     apr_status_t rv = APR_SUCCESS;
     apr_memcache_conn_t *conn;
-    apr_bucket* e;
-    apr_pool_t* np;
+    apr_bucket *e;
+    apr_pool_t *np;
     apr_memcache_server_t *ms = params;
 
     rv = apr_pool_create(&np, pool);
@@ -310,7 +310,7 @@
 {
     apr_status_t rv = APR_SUCCESS;
     apr_memcache_server_t *server;
-    apr_pool_t* np;
+    apr_pool_t *np;
 
     rv = apr_pool_create(&np, p);
 
@@ -745,8 +745,8 @@
                     apr_uint32_t timeout)
 {
     apr_status_t rv;
-    apr_memcache_server_t* ms;
-    apr_memcache_conn_t* conn;
+    apr_memcache_server_t *ms;
+    apr_memcache_conn_t *conn;
     apr_uint32_t hash;
     apr_size_t written;
     struct iovec vec[3];
@@ -880,7 +880,7 @@
 
 APR_DECLARE(apr_status_t)
 apr_memcache_incr(apr_memcache_t *mc,
-                    const char* key,
+                    const char *key,
                     apr_int32_t inc,
                     apr_uint32_t *new_value)
 {
@@ -1054,7 +1054,7 @@
 #define STAT_limit_maxbytes_LEN (sizeof(STAT_limit_maxbytes)-1)
 
 
-static const char* stat_read_string(apr_pool_t *p, char *buf, int len)
+static const char *stat_read_string(apr_pool_t *p, char *buf, int len)
 {
     /* remove trailing \r\n and null char */
     return apr_pstrmemdup(p, buf, len-2);
@@ -1080,10 +1080,10 @@
 
 static apr_time_t stat_read_rtime(apr_pool_t *p, char *buf, int len)
 {
-    char* tok;
-    char* secs;
-    char* usecs;
-    const char* sep = ":";
+    char *tok;
+    char *secs;
+    char *usecs;
+    const char *sep = ":";
 
     buf[len-2] = '\0';
 



Mime
View raw message