Bug: configure misdetects SUN_LEN

Yar Tikhiy yar at comp.chem.msu.su
Fri Oct 22 12:58:28 UTC 1999


Hi INN developers!

The yesterday inn-1999-10-21_03-01 snap has the following bug
in configure.in: The SUN_LEN macro expects a pointer to struct
sockaddr_un, but not struct sockaddr_un itself. Therefore, the
test for SUN_LEN always fails. The fix is obvious:

--- configure.in.orig	Sat Oct 16 14:31:13 1999
+++ configure.in	Fri Oct 22 16:47:47 1999
@@ -620,7 +620,7 @@
     struct sockaddr_un sun;
     int i;
 
-    i = SUN_LEN(sun);
+    i = SUN_LEN(&sun);
 }
     ],
     inn_cv_macro_sun_len=yes,

Thank you for INN!!! :-)

SY, Yar


More information about the inn-bugs mailing list