]> granicus.if.org Git - apache/commitdiff
minor style changes
authorJeff Trawick <trawick@apache.org>
Sat, 12 Jul 2003 13:03:39 +0000 (13:03 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 12 Jul 2003 13:03:39 +0000 (13:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100562 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 445fbc6a399f8873d2159b2879625b16e876f059..8bd8cbab0485cfd017878a9067530bbe649ed070 100644 (file)
@@ -788,18 +788,20 @@ AP_DECLARE(void) ap_get_mime_headers_core(request_rec *r, apr_bucket_brigade *bb
                 }
 
                 *value = '\0';
-                tmp_field = value;  /*Used to trim the whitespace between key */
-                ++value;            /*     token and seperator*/
+                tmp_field = value;  /* used to trim the whitespace between key
+                                     * token and separator
+                                     */
+                ++value;
                 while (*value == ' ' || *value == '\t') {
                     ++value;            /* Skip to start of value   */
                 }
 
                 /* This check is to avoid any invalid memory reference while
-                 *   traversing backwards in the key. To avoid a case where
-                 *   the header starts with ':' (or with just some white
-                 *   space and the ':') followed by the value
-                        */
-                if(tmp_field > last_field) {
+                 * traversing backwards in the key. To avoid a case where
+                 * the header starts with ':' (or with just some white
+                 * space and the ':') followed by the value
+                 */
+                if (tmp_field > last_field) {
                     --tmp_field;
                     while ((tmp_field > last_field) &&
                            (*tmp_field == ' ' || *tmp_field == '\t')) {