Commit 0187fe94 authored by Toon Claes's avatar Toon Claes

Correct return values: PROCESSED or CALL_AGAIN

parent a34d1ec0
......@@ -23,7 +23,7 @@ static int index_html(struct mg_connection *conn) {
}
}
return n < sizeof(buf) ? 1 : 0;
return n < sizeof(buf) ? MG_REQUEST_PROCESSED : MG_REQUEST_CALL_AGAIN;
}
int main(void) {
......
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