]> granicus.if.org Git - apache/commitdiff
no such thing as AP_ASSERT()
authorJeff Trawick <trawick@apache.org>
Fri, 1 Nov 2002 12:58:30 +0000 (12:58 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 1 Nov 2002 12:58:30 +0000 (12:58 +0000)
there is ap_assert() and AP_DEBUG_ASSERT()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97375 13f79535-47bb-0310-9956-ffa450edef68

server/request.c

index 33e55087f641250376704763749e89885b984a08..b27cf724bd8624a71f7b1a1fda483c674ffb4531 100644 (file)
@@ -925,7 +925,7 @@ minimerge2:
              */
             if (temp_slash) {
                 temp_slash = 0;
-                AP_ASSERT(r->filename[filename_len-1] == '/');
+                AP_DEBUG_ASSERT(r->filename[filename_len-1] == '/');
                 r->filename[--filename_len] = '\0';
             }