NULL should not be used as a character assignment value. Use '\0' instead
authorTheodore Tso <tytso@mit.edu>
Thu, 3 Nov 1994 02:12:40 +0000 (02:12 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 3 Nov 1994 02:12:40 +0000 (02:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4618 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/popper/ChangeLog
src/appl/popper/popper.h

index 1f5266aa6df78f55451a6a928d6e28173e184aea..1a69c1699c303ff263a725d7fb1be53674853120 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov  2 21:09:38 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * popper.h: NULL should not be used as a character assignment
+               value.  Use '\0' instead. 
+
 Wed Oct 26 15:00:13 1994    (tytso@rsx-11)
 
        * Makefile.in (CFLAGS): Control -g/-O via $(CCOPTS)
index 5d69931fbc116e57b18bf918a329cc00a066d08f..300f7ab6095f0c9cab8b12312d743aeb09aa67aa 100644 (file)
@@ -24,7 +24,9 @@
 #define FALSE           0
 #define NEWLINE         '\n'
 
+#ifndef MAXHOSTNAMELEN
 #define MAXHOSTNAMELEN  256
+#endif
 #define MAXUSERNAMELEN  65
 #define MAXDROPLEN      64
 #define MAXLINELEN      1024