Searched refs:whole_path (Results 1 – 1 of 1) sorted by relevance
190 char *whole_path = NULL; in send_document_cb() local226 if (!(whole_path = malloc(len))) { in send_document_cb()230 evutil_snprintf(whole_path, len, "%s/%s", o->docroot, decoded_path); in send_document_cb()232 if (stat(whole_path, &st)<0) { in send_document_cb()257 dirlen = strlen(whole_path); in send_document_cb()259 memcpy(pattern, whole_path, dirlen); in send_document_cb()268 if (!(d = opendir(whole_path))) in send_document_cb()313 if ((fd = open(whole_path, O_RDONLY)) < 0) { in send_document_cb()340 if (whole_path) in send_document_cb()341 free(whole_path); in send_document_cb()