Skip to content

Commit d281776

Browse files
author
Björn Tantau
committed
Remove unneeded code blocks.
1 parent 984c489 commit d281776

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

main/rfc1867.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,21 +1144,6 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
11441144
register_http_post_files_variable(lbuf, s, &PG(http_globals)[TRACK_VARS_FILES], 0);
11451145
s = NULL;
11461146

1147-
/* Add $foo_fullpath */
1148-
if (llen < strlen(param) + MAX_SIZE_OF_INDEX + 1) {
1149-
llen = (int)strlen(param);
1150-
lbuf = (char *) safe_erealloc(lbuf, llen, 1, MAX_SIZE_OF_INDEX + 1);
1151-
llen += MAX_SIZE_OF_INDEX + 1;
1152-
}
1153-
1154-
if (is_arr_upload) {
1155-
if (abuf) efree(abuf);
1156-
abuf = estrndup(param, strlen(param)-array_len);
1157-
snprintf(lbuf, llen, "%s_fullpath[%s]", abuf, array_index);
1158-
} else {
1159-
snprintf(lbuf, llen, "%s_fullpath", param);
1160-
}
1161-
11621147
/* Add full path of supplied file for folder uploads via
11631148
* <input type="file" name="files" multiple webkitdirectory>
11641149
*/

0 commit comments

Comments
 (0)