mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-05 21:18:32 +08:00
Correct return values: PROCESSED or CALL_AGAIN
This commit is contained in:
parent
a34d1ec00a
commit
0187fe943a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user