dir-index-bozo.c | 61 char *file = NULL, *printname = NULL, *p; local in function:bozo_dir_index 105 bozoasprintf(httpd, &printname, "~%s/%s", 108 printname = bozostrdup(httpd, request, request->hr_file); 110 printname = bozostrdup(httpd, request, request->hr_file); 112 if ((p = strstr(printname, httpd->index_html)) != NULL) { 113 if (strcmp(printname, httpd->index_html) == 0) 114 strcpy(printname, "/"); /* is ``slashdir'' */ 118 if ((p = bozo_escape_html(httpd, printname)) != NULL) { 119 free(printname); 120 printname = p [all...] |