diff options
author | jcid <devnull@localhost> | 2008-11-05 19:11:02 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-11-05 19:11:02 +0100 |
commit | 8d11ae65472e4a9c70476f9b165df7a114d06908 (patch) | |
tree | cfd63c085c4eee16b250ecbaaa61b9d53ff4b6aa /dpi/cookies.c | |
parent | 26fe2d4e6d93618c44c3ab35089f9d35eec5389b (diff) |
- Cleaned up and normalized D_SUN_LEN usage.
Diffstat (limited to 'dpi/cookies.c')
-rw-r--r-- | dpi/cookies.c | 6 |
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() * |