Skip to content

Commit

Permalink
Correct WriteToSocket.token field name in struct comment
Browse files Browse the repository at this point in the history
Summary: `WriteToSocket.callback` was changed to `token`; correct the name in the comment

Reviewed By: abakiaydin

Differential Revision: D66548949

fbshipit-source-id: 6f5b0d823dbf4806d691737cb96d2506fb1e7a51
  • Loading branch information
Jolene Tan authored and facebook-github-bot committed Dec 4, 2024
1 parent 7eff2a9 commit 6df1caf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fizz/protocol/Actions.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ struct DeliverAppData {

/**
* Raw data that must be written to the transport.
* callback: The callback that should be invoked after the write has finished.
* This is usually when the kernel has accepted the buffer in the
* case of TCP.
* token: An opaque handle passed through the state machine to the IO layer,
* which defines and manages its specific use.
* contents: The TLS records that need to be written. Each TLSContent object
* can represent several TLS records at a certain encryption level /
* content type.
Expand Down

0 comments on commit 6df1caf

Please sign in to comment.