summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2007-09-07 14:16:21 -0600
committerLaMont Jones <lamont@debian.org>2007-09-07 14:16:21 -0600
commit3a52c1567d4e324c386ebb55b7eebc7d19ca7acf (patch)
tree19c5ec83240bf6854527090e7c7339439991ab48 /contrib
parent83fd43020f8577e3bc812a3ef219b5455f219bba (diff)
downloadbind9-3a52c1567d4e324c386ebb55b7eebc7d19ca7acf.tar.gz
9.4.0
Diffstat (limited to 'contrib')
-rw-r--r--contrib/dlz/drivers/dlz_mysql_driver.c2
-rw-r--r--contrib/sdb/pgsql/zonetodb.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/dlz/drivers/dlz_mysql_driver.c b/contrib/dlz/drivers/dlz_mysql_driver.c
index 24cd5ea5..ea32d39e 100644
--- a/contrib/dlz/drivers/dlz_mysql_driver.c
+++ b/contrib/dlz/drivers/dlz_mysql_driver.c
@@ -648,7 +648,7 @@ mysql_allnodes(const char *zone, void *driverarg, void *dbdata,
}
if (fields == 4) {
/* tell Bind about it. */
- result = dns_sdlz_putnamedrr(allnodes, safeGet(row[0]),
+ result = dns_sdlz_putnamedrr(allnodes, safeGet(row[2]),
safeGet(row[1]), ttl,
safeGet(row[3]));
} else {
diff --git a/contrib/sdb/pgsql/zonetodb.c b/contrib/sdb/pgsql/zonetodb.c
index 70753077..c2506740 100644
--- a/contrib/sdb/pgsql/zonetodb.c
+++ b/contrib/sdb/pgsql/zonetodb.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 2000, 2001 Internet Software Consortium.
+ * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zonetodb.c,v 1.13.18.2 2005/09/06 03:47:16 marka Exp $ */
+/* $Id: zonetodb.c,v 1.13.18.4 2007/01/18 00:06:11 marka Exp $ */
#include <stdlib.h>
#include <string.h>