httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1095972 - /httpd/httpd/trunk/modules/mappers/mod_alias.c
Date Fri, 22 Apr 2011 18:02:34 GMT
Author: sf
Date: Fri Apr 22 18:02:34 2011
New Revision: 1095972

URL: http://svn.apache.org/viewvc?rev=1095972&view=rev
Log:
avoid useless call to apr_pstrdup

Modified:
    httpd/httpd/trunk/modules/mappers/mod_alias.c

Modified: httpd/httpd/trunk/modules/mappers/mod_alias.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_alias.c?rev=1095972&r1=1095971&r2=1095972&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_alias.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_alias.c Fri Apr 22 18:02:34 2011
@@ -369,7 +369,7 @@ static char *try_alias_list(request_rec 
                 }
                 else {
                     /* need something non-null */
-                    found = apr_pstrdup(r->pool, "");
+                    found = "";
                 }
             }
         }



Mime
View raw message