From 055934c9ddc5a7518dc3d4441fcfe00f101a267c Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Sat, 18 Nov 2000 01:39:20 +0000 Subject: [PATCH] keep lines under 80 columns --- contrib/sdb/tcl/tcldb.c | 14 +++++++++----- contrib/sdb/tcldb.c | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/contrib/sdb/tcl/tcldb.c b/contrib/sdb/tcl/tcldb.c index 8ac63107c9..d9b5691c9b 100644 --- a/contrib/sdb/tcl/tcldb.c +++ b/contrib/sdb/tcl/tcldb.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: tcldb.c,v 1.3 2000/11/18 00:32:14 gson Exp $ */ +/* $Id: tcldb.c,v 1.4 2000/11/18 01:39:20 bwelling Exp $ */ #include @@ -123,7 +123,8 @@ tcldb_lookup(const char *zone, const char *name, void *dbdata, goto fail; } - tclres = Tcl_SplitList(driver->interp, driver->interp->result, &rrc, &rrv); + tclres = Tcl_SplitList(driver->interp, driver->interp->result, + &rrc, &rrv); if (tclres != TCL_OK) goto malformed; @@ -131,14 +132,16 @@ tcldb_lookup(const char *zone, const char *name, void *dbdata, isc_result_t tmpres; int fieldc; /* Field count */ char **fieldv; /* Field vector */ - tclres = Tcl_SplitList(driver->interp, rrv[i], &fieldc, &fieldv); + tclres = Tcl_SplitList(driver->interp, rrv[i], + &fieldc, &fieldv); if (tclres != TCL_OK) { tmpres = ISC_R_FAILURE; goto failrr; } if (fieldc != 3) goto malformed; - tmpres = dns_sdb_putrr(lookup, fieldv[0], atoi(fieldv[1]), fieldv[2]); + tmpres = dns_sdb_putrr(lookup, fieldv[0], atoi(fieldv[1]), + fieldv[2]); Tcl_Free((char *) fieldv); failrr: if (tmpres != ISC_R_SUCCESS) @@ -151,7 +154,8 @@ tcldb_lookup(const char *zone, const char *name, void *dbdata, malformed: isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_SDB, ISC_LOG_ERROR, - "zone '%s': malformed return value from tcl lookup function: %s", + "zone '%s': " + "malformed return value from tcl lookup function: %s", zone, driver->interp->result); result = ISC_R_FAILURE; fail: diff --git a/contrib/sdb/tcldb.c b/contrib/sdb/tcldb.c index 8ac63107c9..d9b5691c9b 100644 --- a/contrib/sdb/tcldb.c +++ b/contrib/sdb/tcldb.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: tcldb.c,v 1.3 2000/11/18 00:32:14 gson Exp $ */ +/* $Id: tcldb.c,v 1.4 2000/11/18 01:39:20 bwelling Exp $ */ #include @@ -123,7 +123,8 @@ tcldb_lookup(const char *zone, const char *name, void *dbdata, goto fail; } - tclres = Tcl_SplitList(driver->interp, driver->interp->result, &rrc, &rrv); + tclres = Tcl_SplitList(driver->interp, driver->interp->result, + &rrc, &rrv); if (tclres != TCL_OK) goto malformed; @@ -131,14 +132,16 @@ tcldb_lookup(const char *zone, const char *name, void *dbdata, isc_result_t tmpres; int fieldc; /* Field count */ char **fieldv; /* Field vector */ - tclres = Tcl_SplitList(driver->interp, rrv[i], &fieldc, &fieldv); + tclres = Tcl_SplitList(driver->interp, rrv[i], + &fieldc, &fieldv); if (tclres != TCL_OK) { tmpres = ISC_R_FAILURE; goto failrr; } if (fieldc != 3) goto malformed; - tmpres = dns_sdb_putrr(lookup, fieldv[0], atoi(fieldv[1]), fieldv[2]); + tmpres = dns_sdb_putrr(lookup, fieldv[0], atoi(fieldv[1]), + fieldv[2]); Tcl_Free((char *) fieldv); failrr: if (tmpres != ISC_R_SUCCESS) @@ -151,7 +154,8 @@ tcldb_lookup(const char *zone, const char *name, void *dbdata, malformed: isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_SDB, ISC_LOG_ERROR, - "zone '%s': malformed return value from tcl lookup function: %s", + "zone '%s': " + "malformed return value from tcl lookup function: %s", zone, driver->interp->result); result = ISC_R_FAILURE; fail: