Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace all use of inet_ntoa() with inet_ntop()
inet_ntoa() uses a statically-allocated buffer, which means that it wouldn't be safe for use by an a multithreaded application using libopenconnect (as yet hypothetical). We should use inet_ntop() instead in all cases, even though it's slightly less convenient. Signed-off-by: Daniel Lenski <dlenski@gmail.com>
- Loading branch information
Showing
3 changed files
with
21 additions
and
22 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
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
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