mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Revert "Copiousoutput part II. To be continued ..."
I am reverting all copiousoutput support because of bug 917.
This reverts commit f6115e65ec
.
Conflicts:
src/session/download.h: type_query.cgi, and Doxygen comments.
This commit is contained in:
parent
196c3a8134
commit
eb8bbc9286
@ -876,7 +876,6 @@ continue_download_do(struct terminal *term, int fd, void *data, int resume)
|
||||
file_download->external_handler = subst_file(type_query->external_handler,
|
||||
codw_hop->file);
|
||||
file_download->delete = 1;
|
||||
file_download->copiousoutput = type_query->copiousoutput;
|
||||
mem_free(codw_hop->file);
|
||||
mem_free_set(&type_query->external_handler, NULL);
|
||||
}
|
||||
@ -1288,7 +1287,6 @@ setup_download_handler(struct session *ses, struct download *loading,
|
||||
type_query = init_type_query(ses, loading, cached);
|
||||
if (type_query) {
|
||||
ret = 1;
|
||||
type_query->copiousoutput = handler->copiousoutput;
|
||||
#ifdef CONFIG_BITTORRENT
|
||||
/* A terrible waste of a good MIME handler here, but we want
|
||||
* to use the type_query this is easier. */
|
||||
|
@ -48,7 +48,6 @@ struct type_query {
|
||||
unsigned char *target_frame;
|
||||
unsigned char *external_handler;
|
||||
int block;
|
||||
unsigned int copiousoutput:1;
|
||||
unsigned int cgi:1;
|
||||
/* int frame; */
|
||||
};
|
||||
@ -77,9 +76,6 @@ struct file_download {
|
||||
/** Whether to block the terminal when running the external handler. */
|
||||
unsigned int block:1;
|
||||
|
||||
/** Whether copiousoutput mode is used by the mailcap entry */
|
||||
unsigned int copiousoutput:1;
|
||||
|
||||
/** The current dialog for this download. Can be NULL. */
|
||||
struct dialog_data *dlg_data;
|
||||
struct listbox_item *box_item;
|
||||
|
Loading…
Reference in New Issue
Block a user