Commit 91fa767e authored by Sergey Lyubka's avatar Sergey Lyubka

Fix doc string for websocket_data()

parent 5e787114
...@@ -89,8 +89,8 @@ struct mg_callbacks { ...@@ -89,8 +89,8 @@ struct mg_callbacks {
// http://tools.ietf.org/html/rfc6455, section 5.2 // http://tools.ietf.org/html/rfc6455, section 5.2
// data, data_len: payload, with mask (if any) already applied. // data, data_len: payload, with mask (if any) already applied.
// Return value: // Return value:
// 0: keep this websocket connection opened. // non-0: keep this websocket connection opened.
// non-0: close this websocket connection. // 0: close this websocket connection.
int (*websocket_data)(struct mg_connection *, int bits, int (*websocket_data)(struct mg_connection *, int bits,
char *data, size_t data_len); char *data, size_t data_len);
......
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