*.exe
*.lib
-# Patch leaves these lying arround
+# Patch leaves these lying around
*.orig
*.rej
if (evbuffer_strchr(&it, '\n') < 0)
goto done;
extra_drain = 1;
- /* ... optionally preceeded by a CR. */
+ /* ... optionally preceded by a CR. */
if (it.pos == start_pos)
break; /* If the first character is \n, don't back up */
/* This potentially does an extra linear walk over the first
WSABUF buffers[MAX_WSABUFS];
};
-/** Given an evbuffer, return the correponding evbuffer structure, or NULL if
+/** Given an evbuffer, return the corresponding evbuffer structure, or NULL if
* the evbuffer isn't overlapped. */
static inline struct evbuffer_overlapped *
upcast_evbuffer(struct evbuffer *buf)
ev_uint32_t current_tick)
{
/* It's okay if the tick number overflows, since we'll just
- * wrap around when we do the unsigned substraction. */
+ * wrap around when we do the unsigned subtraction. */
unsigned n_ticks = current_tick - bucket->last_updated;
/* Make sure some ticks actually happened, and that time didn't
AX_CHECK_COMPILE_FLAG([-Werror], [CFLAGS="$CFLAGS -Werror"])
fi
- dnl Disable warnings for unused paramaters
+ dnl Disable warnings for unused parameters
AX_CHECK_COMPILE_FLAG([-Wno-unused-parameter], [CFLAGS="$CFLAGS -Wno-unused-parameter"],[],[-Werror])
AX_CHECK_COMPILE_FLAG([-Wno-void-pointer-to-enum-cast], [CFLAGS="$CFLAGS -Wno-void-pointer-to-enum-cast"],[],[-Werror])
int (*header_cb)(struct evhttp_request *, void *);
/*
- * Error callback - called when error is occured.
+ * Error callback - called when error is occurred.
* @see evhttp_request_error for error types.
*
* @see evhttp_request_set_error_cb()