summaryrefslogtreecommitdiff
path: root/core/util.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-16 13:11:09 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-16 13:11:09 -0400
commit88ff81d9def5efe69cbaf91aa41906177ba7dde9 (patch)
treecb9f149e438bcd1f18d8c1eb5d8be6b0a22f58a4 /core/util.c
parentc5af8f44a9d040a0bbe0442ec074d9fc8562dd32 (diff)
Passed everything through astyle.
Diffstat (limited to 'core/util.c')
-rw-r--r--core/util.c4
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
37bool id_eq(clientid_t* dest, clientid_t* src) 37bool 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
42void id_cpy(clientid_t* dest, clientid_t* src) 42void 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}