]> granicus.if.org Git - apache/commitdiff
Revert my last fix, which broke more things than it fixed
authorBrian Pane <brianp@apache.org>
Thu, 28 Mar 2002 01:57:03 +0000 (01:57 +0000)
committerBrian Pane <brianp@apache.org>
Thu, 28 Mar 2002 01:57:03 +0000 (01:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94254 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index c17ca823f611f8e03ca48a52b8175f5a2d4dc3d2..2e90e18ade05dc4355e388e8fef1498664a5f94e 100644 (file)
@@ -957,10 +957,7 @@ static void ap_ssi_get_tag_and_value(include_ctx_t *ctx, char **tag,
     }
     
     *(c-shift_val) = '\0'; /* Overwrites delimiter (term or WS) with NULL. */
-    if (*c) {
-        ++c;
-    }
-    ctx->curr_tag_pos = c;
+    ctx->curr_tag_pos = ++c;
     if (dodecode) {
         decodehtml(*tag_val);
     }