Fix mjpg_streamer example

This commit is contained in:
Alexander Alashkin committed 2015-04-13 16:02:52 +03:00
1 parent 2ff2c369f7
commit 09a80628e6
2 files changed
+7 -1

No files matched your search

+2 -1
View File
@@ -60,7 +60,8 @@ struct mg_connection {
struct mg_server; // Opaque structure describing server instance
enum mg_result { MG_FALSE, MG_TRUE, MG_MORE };
enum mg_event {
MG_POLL = 100, // Callback return value is ignored
MG_POLL = 100, // If callback returns MG_TRUE connection closes
// after all of data is sent
MG_CONNECT, // If callback returns MG_FALSE, connect fails
MG_AUTH, // If callback returns MG_FALSE, authentication fails
MG_REQUEST, // If callback returns MG_FALSE, Mongoose continues with req