Browse Source

Added missing config.[ch] lines for FTP protocol

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
f13baeb330
2 changed files with 4 additions and 0 deletions
  1. 1
    0
      src/config.h
  2. 3
    0
      src/core/config.c

+ 1
- 0
src/config.h View File

73
 #define	DOWNLOAD_PROTO_TFTP	/* Trivial File Transfer Protocol */
73
 #define	DOWNLOAD_PROTO_TFTP	/* Trivial File Transfer Protocol */
74
 #undef	DOWNLOAD_PROTO_NFS	/* Network File System */
74
 #undef	DOWNLOAD_PROTO_NFS	/* Network File System */
75
 #define	DOWNLOAD_PROTO_HTTP	/* Hypertext Transfer Protocol */
75
 #define	DOWNLOAD_PROTO_HTTP	/* Hypertext Transfer Protocol */
76
+#undef	DOWNLOAD_PROTO_FTP	/* File Transfer Protocol */
76
 #undef	DOWNLOAD_PROTO_TFTM	/* Multicast Trivial File Transfer Protocol */
77
 #undef	DOWNLOAD_PROTO_TFTM	/* Multicast Trivial File Transfer Protocol */
77
 #undef	DOWNLOAD_PROTO_SLAM	/* Scalable Local Area Multicast */
78
 #undef	DOWNLOAD_PROTO_SLAM	/* Scalable Local Area Multicast */
78
 #undef	DOWNLOAD_PROTO_FSP	/* FSP? */
79
 #undef	DOWNLOAD_PROTO_FSP	/* FSP? */

+ 3
- 0
src/core/config.c View File

91
 #ifdef DOWNLOAD_PROTO_HTTP
91
 #ifdef DOWNLOAD_PROTO_HTTP
92
 REQUIRE_OBJECT ( http );
92
 REQUIRE_OBJECT ( http );
93
 #endif
93
 #endif
94
+#ifdef DOWNLOAD_PROTO_FTP
95
+REQUIRE_OBJECT ( ftp );
96
+#endif
94
 #ifdef DOWNLOAD_PROTO_TFTM
97
 #ifdef DOWNLOAD_PROTO_TFTM
95
 REQUIRE_OBJECT ( tftm );
98
 REQUIRE_OBJECT ( tftm );
96
 #endif
99
 #endif

Loading…
Cancel
Save