From 08ce71d647acaa282b6a9928ff85c794c02c8b29 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 15 Nov 2011 20:09:23 +0100 Subject: waitress: Remove http fetch test This was not meant to go public. --- src/libwaitress/waitress.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c index d3487c8..c20e059 100644 --- a/src/libwaitress/waitress.c +++ b/src/libwaitress/waitress.c @@ -1307,17 +1307,6 @@ int main () { compareStr (WaitressBase64Encode ("The quick brown fox jumped over the lazy do"), "VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wZWQgb3ZlciB0aGUgbGF6eSBkbw=="); - gnutls_global_init (); - WaitressHandle_t waith; - char *buf; - WaitressInit (&waith); - WaitressSetUrl (&waith, "http://6xq.net:80/"); - printf ("ret: %s\n", WaitressErrorToStr (WaitressFetchBuf (&waith, &buf))); - printf ("%s\n", buf); - free (buf); - WaitressFree (&waith); - gnutls_global_deinit (); - return EXIT_SUCCESS; } #endif /* TEST */ -- cgit v1.2.3