Skip to content

Commit

Permalink
waitress: Remove http fetch test
Browse files Browse the repository at this point in the history
This was not meant to go public.
  • Loading branch information
PromyLOPh committed Nov 15, 2011
1 parent 7439155 commit 08ce71d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/libwaitress/waitress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 08ce71d

Please sign in to comment.