URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=28d7753972cb88be18916091b9900c2cc31df1f4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
28d7753 by Guy Harris (guy@xxxxxxxxxxxx):
Use INVALID_SOCKET for an invalid socket handle.
-1 is fine on UN*X, but, on Windows, it's INVALID_SOCKET. We define
INVALID_SOCKET as (-1) on UN*X, so it can be used on both platforms.
Change-Id: Ib2269ddf98c352a1d3c85e44006cc49d80750a78
Reviewed-on: https://code.wireshark.org/review/19909
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from c46ea01 Fix some more UN*X-vs-Windows issues.
adds 28d7753 Use INVALID_SOCKET for an invalid socket handle.
Summary of changes:
sharkd_daemon.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)