aboutsummaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-29 12:01:29 +0100
committerGravatar Sadie Powell2022-09-29 12:36:01 +0100
commit89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch)
tree4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /include/socketengine.h
parentUse NOMINMAX on Windows and undefine error in the log header. (diff)
Fix various cases of the &* being next to the name instead of type.
Diffstat (limited to 'include/socketengine.h')
-rw-r--r--include/socketengine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index 1e1cb9420..70d39d2b8 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -407,7 +407,7 @@ public:
* @param addrlen The size of the sockaddr parameter.
* @return This method should return exactly the same values as the system call it emulates.
*/
- static int Accept(EventHandler* fd, sockaddr *addr, socklen_t *addrlen);
+ static int Accept(EventHandler* fd, sockaddr* addr, socklen_t* addrlen);
/** Close the underlying fd of an event handler, remove it from the socket engine and set the fd to -1.
* @param eh The EventHandler to close.
@@ -430,7 +430,7 @@ public:
* @param flags A flag value that controls the sending of the data.
* @return This method should return exactly the same values as the system call it emulates.
*/
- static ssize_t Send(EventHandler* fd, const void *buf, size_t len, int flags);
+ static ssize_t Send(EventHandler* fd, const void* buf, size_t len, int flags);
/** Abstraction for vector write function writev().
* This function should emulate its namesake system call exactly.
@@ -461,7 +461,7 @@ public:
* @param flags A flag value that controls the reception of the data.
* @return This method should return exactly the same values as the system call it emulates.
*/
- static ssize_t Recv(EventHandler* fd, void *buf, size_t len, int flags);
+ static ssize_t Recv(EventHandler* fd, void* buf, size_t len, int flags);
/** Abstraction for BSD sockets recvfrom(2).
* This function should emulate its namesake system call exactly.
@@ -473,7 +473,7 @@ public:
* @param fromlen The size of the from parameter.
* @return This method should return exactly the same values as the system call it emulates.
*/
- static ssize_t RecvFrom(EventHandler* fd, void *buf, size_t len, int flags, sockaddr *from, socklen_t *fromlen);
+ static ssize_t RecvFrom(EventHandler* fd, void* buf, size_t len, int flags, sockaddr* from, socklen_t* fromlen);
/** Abstraction for BSD sockets sendto(2).
* This function should emulate its namesake system call exactly.