Commit 8f0a5ab6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

this example does NOT use libevent!

parent db03d4bd
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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;