summaryrefslogtreecommitdiff
path: root/tests/server/getpart.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-18 06:57:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-18 06:57:44 +0000
commit14424f7058cd6c2a5aa31dc179db3d4b7bc564a0 (patch)
tree96893b10e2c340f26f7b662a3b9db342191807eb /tests/server/getpart.c
parent6063dff8d02adfba758d9f252c5704535d0d2faa (diff)
downloadcurl-14424f7058cd6c2a5aa31dc179db3d4b7bc564a0.tar.gz
Modified the FTP server to use the new 'sockfilt' program to do all the socket
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.
Diffstat (limited to 'tests/server/getpart.c')
-rw-r--r--tests/server/getpart.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/server/getpart.c b/tests/server/getpart.c
index c493f252e..85bf3ed7b 100644
--- a/tests/server/getpart.c
+++ b/tests/server/getpart.c
@@ -218,19 +218,3 @@ const char *spitout(FILE *stream,
return string;
}
-#ifdef GETPART_TEST
-int main(int argc, char **argv)
-{
- if(argc< 3) {
- printf("./moo main sub\n");
- }
- else {
- size_t size;
- unsigned int i;
- const char *buffer = spitout(stdin, argv[1], argv[2], &size);
- for(i=0; i< size; i++)
- printf("%c", buffer[i]);
- }
- return 0;
-}
-#endif