diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-02-01 11:04:54 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-02-01 19:05:21 +0000 |
commit | 28d7753972cb88be18916091b9900c2cc31df1f4 (patch) | |
tree | 127a502779b3a7cc1862f261fbc96040d70c0f0c /filter_files.h | |
parent | c46ea01374d2c1d4ddb1568936244c8bc5888300 (diff) |
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@alum.mit.edu>
Diffstat (limited to 'filter_files.h')
0 files changed, 0 insertions, 0 deletions