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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user