mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
reindent CreateFile arguments.
This commit is contained in:
parent
ab1b81e838
commit
2e58882b90
@ -183,11 +183,11 @@ tor_mmap_file(const char *filename)
|
|||||||
strlcpy(tfilename,filename,MAX_PATH);
|
strlcpy(tfilename,filename,MAX_PATH);
|
||||||
#endif
|
#endif
|
||||||
file_handle = CreateFile(tfilename,
|
file_handle = CreateFile(tfilename,
|
||||||
GENERIC_READ, FILE_SHARE_READ,
|
GENERIC_READ, FILE_SHARE_READ,
|
||||||
NULL,
|
NULL,
|
||||||
OPEN_EXISTING,
|
OPEN_EXISTING,
|
||||||
FILE_ATTRIBUTE_NORMAL,
|
FILE_ATTRIBUTE_NORMAL,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
if (file_handle == INVALID_HANDLE_VALUE)
|
if (file_handle == INVALID_HANDLE_VALUE)
|
||||||
goto win_err;
|
goto win_err;
|
||||||
|
Loading…
Reference in New Issue
Block a user