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,6 +73,7 @@
73 73
 #define	DOWNLOAD_PROTO_TFTP	/* Trivial File Transfer Protocol */
74 74
 #undef	DOWNLOAD_PROTO_NFS	/* Network File System */
75 75
 #define	DOWNLOAD_PROTO_HTTP	/* Hypertext Transfer Protocol */
76
+#undef	DOWNLOAD_PROTO_FTP	/* File Transfer Protocol */
76 77
 #undef	DOWNLOAD_PROTO_TFTM	/* Multicast Trivial File Transfer Protocol */
77 78
 #undef	DOWNLOAD_PROTO_SLAM	/* Scalable Local Area Multicast */
78 79
 #undef	DOWNLOAD_PROTO_FSP	/* FSP? */

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

@@ -91,6 +91,9 @@ REQUIRE_OBJECT ( nfs );
91 91
 #ifdef DOWNLOAD_PROTO_HTTP
92 92
 REQUIRE_OBJECT ( http );
93 93
 #endif
94
+#ifdef DOWNLOAD_PROTO_FTP
95
+REQUIRE_OBJECT ( ftp );
96
+#endif
94 97
 #ifdef DOWNLOAD_PROTO_TFTM
95 98
 REQUIRE_OBJECT ( tftm );
96 99
 #endif

Loading…
Cancel
Save