pop_init.c (pop_init): Put in a type cast to shut up the compiler.
authorTheodore Tso <tytso@mit.edu>
Tue, 4 Apr 1995 01:56:56 +0000 (01:56 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 4 Apr 1995 01:56:56 +0000 (01:56 +0000)
Popper is still using gethostbyname()'s static data wrong;
this should be fixed eventually.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5340 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/popper/ChangeLog
src/appl/popper/pop_init.c

index d046f3c97353c0d85a7694f41205f6a1a3c72c6b..6b890e412320d5920607b90295c4ee213a8ae184 100644 (file)
@@ -1,3 +1,8 @@
+Mon Mar 27 16:52:48 1995    <tytso@rsx-11.mit.edu>
+
+       * pop_init.c (pop_init): Put in a type cast to shut up the
+               compiler.  Popper is still using gethostbyname()'s static
+               data wrong; this should be fixed eventually.
 
 Mon Mar 27 07:56:26 1995 Chris Provenzano (proven@mit.edu)
 
index 81e1c7adb911e723c09b2bd5798f2ddf8634ca35..3475af1a460f77e3681c688a994805e41bdcfb6b 100644 (file)
@@ -179,7 +179,7 @@ char    **      argmessage;
     else {
 
 #ifndef BIND43
-        p->client = ch->h_name;
+        p->client = (char *) ch->h_name;
 #else
 #       include <arpa/nameser.h>
 #       include <resolv.h>