more updates

This commit is contained in:
fishwaldo 2002-09-24 14:02:09 +00:00
parent 8d29d63230
commit e1078aa47e

View file

@ -26,7 +26,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id: query.c,v 1.2 2002/08/13 14:44:59 fishwaldo Exp $
* $Id: query.c,v 1.3 2002/09/24 14:02:09 fishwaldo Exp $
*/
#include "stdinc.h"
@ -280,7 +280,7 @@ int adns_submit_reverse_ip6(adns_state ads,
cp = (const unsigned char *)&(((const struct sockaddr_in6*)addr) -> sin6_addr.s6_addr);
lreq = 71 + strlen(zone) + 1;
if (lreq > sizeof(shortbuf)) {
buf= MyMalloc(strlen(zone) + 4*4 + 1);
buf= MyMalloc(strlen(zone) + 4*16 + 1);
#if 0
if (!buf) return errno;
#endif