summaryrefslogtreecommitdiff
path: root/Source/WebCore/loader/FTPDirectoryParser.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/loader/FTPDirectoryParser.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/loader/FTPDirectoryParser.h')
-rw-r--r--Source/WebCore/loader/FTPDirectoryParser.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/WebCore/loader/FTPDirectoryParser.h b/Source/WebCore/loader/FTPDirectoryParser.h
index 642b3c3b9..325b37a6f 100644
--- a/Source/WebCore/loader/FTPDirectoryParser.h
+++ b/Source/WebCore/loader/FTPDirectoryParser.h
@@ -68,8 +68,7 @@
// This was originally Mozilla code, titled ParseFTPList.h
// Original version of this file can currently be found at: http://mxr.mozilla.org/mozilla1.8/source/netwerk/streamconv/converters/ParseFTPList.h
-#ifndef FTPDirectoryParser_h
-#define FTPDirectoryParser_h
+#pragma once
#include <wtf/text/WTFString.h>
@@ -127,9 +126,9 @@ struct ListResult
{
valid = false;
type = FTPJunkEntry;
- filename = 0;
+ filename = nullptr;
filenameLength = 0;
- linkname = 0;
+ linkname = nullptr;
linknameLength = 0;
fileSize.truncate(0);
caseSensitive = false;
@@ -153,5 +152,3 @@ struct ListResult
FTPEntryType parseOneFTPLine(const char* inputLine, ListState&, ListResult&);
} // namespace WebCore
-
-#endif // FTPDirectoryParser_h