Update documentation for spdylay_select_next_protocol.

This commit is contained in:
Jim Morrison 2012-03-01 13:26:51 -08:00
parent 4e085a21ea
commit cee79961f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
* }