Project

General

Profile

Feature #1966 » secdownload-int.patch

patch against trunk - virbyte, 2009-06-12 15:58

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 {
......
101 101
		{ "secdownload.secret",            NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },       /* 0 */
102 102
		{ "secdownload.document-root",     NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },       /* 1 */
103 103
		{ "secdownload.uri-prefix",        NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION },       /* 2 */
104
		{ "secdownload.timeout",           NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION },        /* 3 */
104
		{ "secdownload.timeout",           NULL, T_CONFIG_INT, T_CONFIG_SCOPE_CONNECTION },        /* 3 */
105 105
		{ NULL,                            NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
106 106
	};
107 107

  
(1-1/4)