diff options
Diffstat (limited to 'core/util.c')
-rw-r--r-- | core/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/util.c b/core/util.c index d201bcb4..6f346db1 100644 --- a/core/util.c +++ b/core/util.c | |||
@@ -34,12 +34,12 @@ bool ipp_eq(IP_Port a, IP_Port b) | |||
34 | return (a.ip.i == b.ip.i) && (a.port == b.port); | 34 | return (a.ip.i == b.ip.i) && (a.port == b.port); |
35 | } | 35 | } |
36 | 36 | ||
37 | bool id_eq(clientid_t* dest, clientid_t* src) | 37 | bool id_eq(clientid_t *dest, clientid_t *src) |
38 | { | 38 | { |
39 | return memcmp(dest, src, sizeof(clientid_t)) == 0; | 39 | return memcmp(dest, src, sizeof(clientid_t)) == 0; |
40 | } | 40 | } |
41 | 41 | ||
42 | void id_cpy(clientid_t* dest, clientid_t* src) | 42 | void id_cpy(clientid_t *dest, clientid_t *src) |
43 | { | 43 | { |
44 | memcpy(dest, src, sizeof(clientid_t)); | 44 | memcpy(dest, src, sizeof(clientid_t)); |
45 | } | 45 | } |