diff options
Diffstat (limited to 'src/net/comm.c')
| -rw-r--r-- | src/net/comm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/comm.c b/src/net/comm.c index cbcfc44..bd078da 100644 --- a/src/net/comm.c +++ b/src/net/comm.c @@ -7,7 +7,7 @@ #include "client.h" #include "server.h" -bool net_recv(int sock, const msg_type_t type) +bool net_recv(const int sock, const msg_type_t type) { msg_t m; bool result; @@ -62,7 +62,7 @@ bool net_recv(int sock, const msg_type_t type) return result; } -bool net_send(int sock, const msg_type_t type, void *data) +bool net_send(const int sock, const msg_type_t type, const void *data) { bool result = true; |
