Commit c5407a75 authored by Sergey Lyubka's avatar Sergey Lyubka

#define EV_HANDLER NULL in server.c

parent 7217aa22
......@@ -148,6 +148,8 @@ static void show_usage_and_exit(void) {
exit(EXIT_FAILURE);
}
#define EV_HANDLER NULL
static char *sdup(const char *str) {
char *p;
if ((p = (char *) malloc(strlen(str) + 1)) != NULL) {
......@@ -381,7 +383,7 @@ static void start_mongoose(int argc, char *argv[]) {
char *options[MAX_OPTIONS];
int i;
if ((server = mg_create_server(NULL, NULL)) == NULL) {
if ((server = mg_create_server(NULL, EV_HANDLER)) == NULL) {
die("%s", "Failed to start Mongoose.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment