diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-13 22:03:04 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-13 22:03:04 +0200 |
commit | c1bbd40b9e7fa2fbb5051993e729054cb54548ab (patch) | |
tree | 306c75408427e5bade9e41fbb2335c4da48adb3a /Kernel/Net/Socket.cpp | |
parent | 1c5677032a948073a91078e57d4d7d4ae4712d36 (diff) | |
download | serenity-c1bbd40b9e7fa2fbb5051993e729054cb54548ab.zip |
Kernel: Rename "descriptor" to "description" where appropriate.
Now that FileDescription is called that, variables of that type should not
be called "descriptor". This is kinda wordy but we'll get used to it.
Diffstat (limited to 'Kernel/Net/Socket.cpp')
-rw-r--r-- | Kernel/Net/Socket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/Socket.cpp b/Kernel/Net/Socket.cpp index 149a9442e0..6164cbe783 100644 --- a/Kernel/Net/Socket.cpp +++ b/Kernel/Net/Socket.cpp @@ -142,7 +142,7 @@ static const char* to_string(SocketRole role) } } -String Socket::absolute_path(const FileDescription& descriptor) const +String Socket::absolute_path(const FileDescription& description) const { - return String::format("socket:%x (role: %s)", this, to_string(descriptor.socket_role())); + return String::format("socket:%x (role: %s)", this, to_string(description.socket_role())); } |