email plugin: "Calculate" UNIX_PATH_MAX if it is not defined.
authorSebastian Harl <sh@tokkee.org>
Mon, 4 Dec 2006 22:26:18 +0000 (23:26 +0100)
committerFlorian Forster <octo@crystal.wlan.home.verplant.org>
Tue, 5 Dec 2006 09:42:11 +0000 (10:42 +0100)
commit33d409e0d68beac9d6d5439a9237b50f28fcd976
tree7ade772c312a7636a541dad34646516b4716f470
parent717eec35268cb3fe9fb5cefe11246255dbc3811e
email plugin: "Calculate" UNIX_PATH_MAX if it is not defined.

Some systems (e.g. Darwin) do not seem to define UNIX_PATH_MAX at all. Thus I
calculate it from the size of the sun_path character array of struct
sockaddr_un in this case.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/email.c