diff options
author | pquerna <pquerna@13f79535-47bb-0310-9956-ffa450edef68> | 2007-09-20 22:03:05 +0000 |
---|---|---|
committer | pquerna <pquerna@13f79535-47bb-0310-9956-ffa450edef68> | 2007-09-20 22:03:05 +0000 |
commit | 1a260c549a21936805eca05544036a09aea05a29 (patch) | |
tree | 1f9a040a2c998f4a40e2bb482eb9624987e1da27 /memcache | |
parent | f9c28ff9b0d3066a7f1c10be651608aec16bf978 (diff) | |
download | libapr-util-1a260c549a21936805eca05544036a09aea05a29.tar.gz |
Small style cleanups, no functional changes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@577944 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memcache')
-rw-r--r-- | memcache/apr_memcache.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c index 10030566..e18f5e9d 100644 --- a/memcache/apr_memcache.c +++ b/memcache/apr_memcache.c @@ -752,16 +752,18 @@ apr_memcache_getp(apr_memcache_t *mc, 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; |