Commit cee79961 authored by Jim Morrison's avatar Jim Morrison

Update documentation for spdylay_select_next_protocol.

parent 4e085a21
......@@ -786,7 +786,7 @@ int spdylay_submit_goaway(spdylay_session *session, uint32_t status_code);
* void *arg)
* {
* if (spdylay_select_next_protocol(out, outlen, in, inlen) == 1) {
* ((MyType*)arg)->spdy = 1;
* ((MyType*)arg)->spdy_version = spdylay_npn_get_version(*out, *outlen);
* }
* return SSL_TLSEXT_ERR_OK;
* }
......
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