diff --git a/src/Makefile.in b/src/Makefile.in index bcc917c..fb7e9df 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -84,7 +84,9 @@ SFMT_FLAGS = -fno-strict-aliasing # MPATH=-DMUD_LIB='"$(MUD_LIB)"' -DBINDIR='"$(BINDIR)"' -DERQ_DIR='"$(ERQ_DIR)"' # -CFLAGS=-DPROGNAME='"@PROGNAME@"' @EXTRA_CFLAGS@ $(OPTIMIZE) $(DEBUG) $(WARN) $(MPATH) $(PROFIL) +# would be nicer to have this idn include in autoconf but it shouldn't hurt +# here either.. it makes this compile on OpenSolaris.. --lynX via tg 2010 +CFLAGS=-DPROGNAME='"@PROGNAME@"' @EXTRA_CFLAGS@ $(OPTIMIZE) $(DEBUG) $(WARN) $(MPATH) $(PROFIL) -I/usr/include/idn # LIBS=@LIBS@ @PKGLIBS@ # diff --git a/src/util/erq/erq.c b/src/util/erq/erq.c index 36a89c2..b5e4c4c 100644 --- a/src/util/erq/erq.c +++ b/src/util/erq/erq.c @@ -146,8 +146,10 @@ typedef int length_t; #define MAX_REPLY ERQ_MAX_REPLY -/* don't know about the rfcs but here - * hostnames are limited to 128 chars --lynX */ +/* hostnames are limited to 128 chars + * as the purpose of longer hostnames + * is likely to be either spamming or + * hostname-based attacks --lynX */ #define MAX_HOSTNAME 128