Commit 2cdf2599 authored by Sergey Lyubka's avatar Sergey Lyubka

Merge pull request #315 from To1ne/patch-1

Correct return values: PROCESSED or CALL_AGAIN
parents a34d1ec0 0187fe94
......@@ -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