1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

remove more useless use of strlen

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2010-08-03 22:06:24 +00:00
parent f0fdf298c3
commit 7b3189cb8d
2 changed files with 5 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ static char *get_path_param(apr_pool_t *pool, char *url,
* Session path was found, get it's value
*/
++path;
if (strlen(path)) {
if (*path) {
char *q;
path = apr_strtok(apr_pstrdup(pool, path), pathdelims, &q);
return path;