summaryrefslogtreecommitdiff
path: root/src/libwaitress
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-11-15 20:09:23 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-11-15 20:09:23 +0100
commit08ce71d647acaa282b6a9928ff85c794c02c8b29 (patch)
tree901d010c4ad9262b72a972d63c72d4fa458b551a /src/libwaitress
parent7439155029db1c0273b4a034f1ab6532aa74e1cb (diff)
downloadpianobar-windows-08ce71d647acaa282b6a9928ff85c794c02c8b29.tar.gz
pianobar-windows-08ce71d647acaa282b6a9928ff85c794c02c8b29.tar.bz2
pianobar-windows-08ce71d647acaa282b6a9928ff85c794c02c8b29.zip
waitress: Remove http fetch test
This was not meant to go public.
Diffstat (limited to 'src/libwaitress')
-rw-r--r--src/libwaitress/waitress.c11
1 files changed, 0 insertions, 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 */