Skip to content
Snippets Groups Projects
Commit 8f0a5ab6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

this example does NOT use libevent!

parent db03d4bd
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,8 @@
* The same is hiper.c but instead using the new *socket() API instead of the
* "old" *perform() call.
*
* Uses libevent.
* Uses a select() approach but only for keeping the code simple and
* stand-alone. See hipev.c for a libevent-based example.
*
*/
......@@ -33,8 +34,6 @@
#include <curl/curl.h>
#include <event.h> /* for libevent */
#ifndef FALSE
#define FALSE 0
#endif
......@@ -84,7 +83,6 @@ struct fdinfo {
CURL *easy;
int action; /* as set by libcurl */
long timeout; /* as set by libcurl */
struct event ev;
};
static struct fdinfo *allsocks;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment