mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
change "get" to "is"
This commit is contained in:
parent
86053fa86d
commit
1f049c2fd0
5 changed files with 7 additions and 7 deletions
|
|
@ -362,7 +362,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
bool getNoDelay() const override {
|
||||
bool isNoDelay() const override {
|
||||
int opt = 0;
|
||||
socklen_t len = sizeof(opt);
|
||||
if (getsockopt(descriptor, IPPROTO_TCP, TCP_NODELAY, (char*)&opt, &len) < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue