variable which should have been a static. Fortunately nothing in the
Mac tree was using inet_ntoa()....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10606
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jul 1 17:54:56 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * macsock.c(inet_ntoa): Fix obvious bug where we were returning a
+ pointer to an automatic variable which should have been a
+ static. Fortunately nothing in the Mac tree was using
+ inet_ntoa()....
+
1998-05-06 Theodore Ts'o <tytso@rsts-11.mit.edu>
* t_std_conf.c (main): POSIX states that getopt returns -1
inet_ntoa(struct in_addr ina) {
OSErr err;
#define max_addr_str 16
- char addrStr[max_addr_str];
+ static char addrStr[max_addr_str];
err = AddrToStr(ina.s_addr, addrStr);
return addrStr;