Searched refs:restlen (Results 1 – 2 of 2) sorted by relevance
415 restlen = strlen( path );416 httpd_realloc_str( &rest, &maxrest, restlen );418 - if ( rest[restlen - 1] == '/' )419 + if ( restlen > 0 && rest[restlen - 1] == '/' )420 rest[--restlen] = '\0'; /* trim trailing slash */
2156 int restlen; local2160 restlen = srclen - chunks * chunklen; /* srclen % chunklen */2185 if (restlen) {2186 memcpy(q, p, restlen);2187 q += restlen;
Completed in 19 milliseconds