Project

General

Profile

Feature #1966 » lighttpd-1.4.x-short-to-int.patch

changes timeout from short to int - virbyte, 2009-06-16 13:11

View differences:

src/mod_secure_download.c (working copy)
37 37
	buffer *secret;
38 38
	buffer *uri_prefix;
39 39

  
40
	unsigned short timeout;
40
	unsigned int timeout;
41 41
} plugin_config;
42 42

  
43 43
typedef struct {
......
99 99
		{ "secdownload.secret",            NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },       /* 0 */
100 100
		{ "secdownload.document-root",     NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },       /* 1 */
101 101
		{ "secdownload.uri-prefix",        NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },       /* 2 */
102
		{ "secdownload.timeout",           NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION },        /* 3 */
102
		{ "secdownload.timeout",           NULL, T_CONFIG_INT, T_CONFIG_SCOPE_CONNECTION },        /* 3 */
103 103
		{ NULL,                            NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
104 104
	};
105 105

  
(3-3/4)