Skip to content

Commit

Permalink
Merge pull request #1815 from a-andre/doc
Browse files Browse the repository at this point in the history
Fix function name in documentation
  • Loading branch information
huitema authored Jan 7, 2025
2 parents f778ff0 + 0d1e7f7 commit 7a88998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/send_receive_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ in an error `PICOQUIC_ERROR_DATAGRAM_TOO_LONG`.
With the just in time API, the application:

- indicates its readiness to send datagrams marks a stream as `active` using
the API `picoquic_set_datagram_ready`.
the API `picoquic_mark_datagram_ready`.

- receives the callback `picoquic_callback_prepare_datagram` when the stack is ready
to send datagrams in a packet.
Expand Down
2 changes: 1 addition & 1 deletion picoquic/picoquic.h
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ int picoquic_stop_sending(picoquic_cnx_t* cnx,
* of the stream to NULL */
int picoquic_discard_stream(picoquic_cnx_t* cnx, uint64_t stream_id, uint16_t local_stream_error);

/* The function picoquic_set_datagram_ready indicates to the stack
/* The function picoquic_mark_datagram_ready indicates to the stack
* whether the application is ready to send datagrams.
*
* When running in a multipath environment, some applications may want to
Expand Down

0 comments on commit 7a88998

Please sign in to comment.