Skip to content

Commit 692710c

Browse files
author
Marc Stern
committed
Replaced 0 by '\0' for char
1 parent cd65a44 commit 692710c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/re_operators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ static const char *gsb_replace_tpath(apr_pool_t *pool, const char *domain, int l
15651565
data = apr_palloc(pool, len + 1);
15661566
if (!data) return NULL;
15671567

1568-
url[len] = 0;
1568+
url[len] = '\0';
15691569

15701570
while(( pos = strstr(url , "/./" )) != NULL) {
15711571
match = 1;

0 commit comments

Comments
 (0)