--- src/input/curl_input_plugin.c.orig 2010-05-30 08:57:28.000000000 -0700 +++ src/input/curl_input_plugin.c 2010-07-08 05:43:15.116516464 -0700 @@ -260,7 +260,7 @@ input_curl_select(struct input_curl *c) return -1; } - assert(max_fd >= 0); + assert(max_fd >= -1); ret = select(max_fd + 1, &rfds, &wfds, &efds, &timeout); if (ret < 0)