Commit b912b626 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix return value

parent 8b32ad73
......@@ -106,7 +106,7 @@ int recv_stream_data(ngtcp2_conn *conn, int64_t stream_id, int fin,
// TODO Better to do this gracefully rather than
// NGTCP2_ERR_CALLBACK_FAILURE. Perhaps, call
// ngtcp2_conn_write_application_close() ?
return -1;
return NGTCP2_ERR_CALLBACK_FAILURE;
}
return 0;
}
......
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