aboutsummaryrefslogtreecommitdiff
path: root/dpi/cookies.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-11-05 19:11:02 +0100
committerjcid <devnull@localhost>2008-11-05 19:11:02 +0100
commit8d11ae65472e4a9c70476f9b165df7a114d06908 (patch)
treecfd63c085c4eee16b250ecbaaa61b9d53ff4b6aa /dpi/cookies.c
parent26fe2d4e6d93618c44c3ab35089f9d35eec5389b (diff)
- Cleaned up and normalized D_SUN_LEN usage.
Diffstat (limited to 'dpi/cookies.c')
-rw-r--r--dpi/cookies.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/dpi/cookies.c b/dpi/cookies.c
index 63a1b7f8..5b5bc35d 100644
--- a/dpi/cookies.c
+++ b/dpi/cookies.c
@@ -64,12 +64,6 @@ int main(void)
#define MSG(...) printf("[cookies dpi]: " __VA_ARGS__)
-/* This one is tricky, some sources state it should include the byte
- * for the terminating NULL, and others say it shouldn't. */
-# define D_SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \
- + strlen ((ptr)->sun_path))
-
-
/*
* a_List_add()
*