summaryrefslogtreecommitdiff
path: root/src/libwaitress/waitress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libwaitress/waitress.c')
-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 */