summaryrefslogtreecommitdiffstats
path: root/doc/README.rst
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.rst b/doc/README.rst
index 549e550..7d4809c 100644
--- a/doc/README.rst
+++ b/doc/README.rst
@@ -68,7 +68,7 @@ The example follows::
* Callback function invoked when |session| wants to send data to
* remote peer.
*/
- typedef ssize_t (*nghttp2_send_callback)
+ typedef nghttp2_ssize (*nghttp2_send_callback2)
(nghttp2_session *session,
const uint8_t *data, size_t length, int flags, void *user_data);