This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protocol: Refactor read_wire_data function
Change the type of parameter "size" from size_t to ssize_t as this really needs to be an unsigned value. Change the loop to a while loop. Get rid of the casts in some of the calls to read_wire_data. Signed-off-by: Archana Shinde <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters