sockfilt.c: keep lines shorter than 80 chars
This commit is contained in:
parent
f4646b9069
commit
234abd9013
@ -558,7 +558,8 @@ static DWORD WINAPI select_ws_wait_thread(LPVOID lpParameter)
|
|||||||
size.HighPart = length;
|
size.HighPart = length;
|
||||||
/* get the current position within the file */
|
/* get the current position within the file */
|
||||||
pos.QuadPart = 0;
|
pos.QuadPart = 0;
|
||||||
pos.LowPart = SetFilePointer(handle, 0, &pos.HighPart, FILE_CURRENT);
|
pos.LowPart = SetFilePointer(handle, 0, &pos.HighPart,
|
||||||
|
FILE_CURRENT);
|
||||||
if((pos.LowPart != INVALID_SET_FILE_POINTER) ||
|
if((pos.LowPart != INVALID_SET_FILE_POINTER) ||
|
||||||
(GetLastError() == NO_ERROR)) {
|
(GetLastError() == NO_ERROR)) {
|
||||||
/* compare position with size, abort if not equal */
|
/* compare position with size, abort if not equal */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user