From: Bill Stoddard Date: Mon, 25 Feb 2002 19:10:05 +0000 (+0000) Subject: Fix some formatting. No function change. X-Git-Tag: 2.0.33~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=575e49d58861c0a351f0dee6226f1919b9b873df;p=apache Fix some formatting. No function change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93568 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/cache_util.c b/modules/experimental/cache_util.c index 460ed60a39..91a8f62aea 100644 --- a/modules/experimental/cache_util.c +++ b/modules/experimental/cache_util.c @@ -163,17 +163,17 @@ CACHE_DECLARE(int) ap_cache_liststr(const char *list, const char *key, char **va i--; if (i == len && strncasecmp(list, key, len) == 0) { if (val) { - p = strchr((char *) list, ','); - while (ap_isspace(*list)) { - list++; - } - if ('=' == list[0]) - list++; - while (ap_isspace(*list)) { - list++; - } - strncpy(valbuf, list, MIN(p-list, sizeof(valbuf)-1)); - *val = valbuf; + p = strchr((char *) list, ','); + while (ap_isspace(*list)) { + list++; + } + if ('=' == list[0]) + list++; + while (ap_isspace(*list)) { + list++; + } + strncpy(valbuf, list, MIN(p-list, sizeof(valbuf)-1)); + *val = valbuf; } return 1; } @@ -300,4 +300,4 @@ CACHE_DECLARE(char *)generate_name(apr_pool_t *p, int dirlevels, int dirlength, char hashfile[66]; cache_hash(name, hashfile, dirlevels, dirlength); return apr_pstrdup(p, hashfile); -} \ No newline at end of file +}