Home | History | Annotate | Download | only in lib

Lines Matching defs:querylen

1338       size_t querylen = u->query ? strlen(u->query) : 0;
1339 bool addamperand = querylen && (u->query[querylen -1] != '&');
1340 if(querylen) {
1342 char *p = malloc(querylen + addamperand + newplen + 1);
1349 p[querylen] = '&'; /* ampersand */
1350 strcpy(&p[querylen + addamperand], newp); /* new suffix */