2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

testing wrong variable

This commit is contained in:
Mark Andrews
2001-09-05 06:04:58 +00:00
parent e78a28ffb5
commit 1d32e01f17

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.57 2001/09/04 14:18:27 marka Exp $ */
/* $Id: masterdump.c,v 1.58 2001/09/05 06:04:58 marka Exp $ */
#include <config.h>
@@ -1286,7 +1286,7 @@ dns_master_dumpinc(isc_mem_t *mctx, dns_db_t *db, dns_dbversion_t *version,
dns_dumpctx_t *dctx = NULL;
file = isc_mem_strdup(mctx, filename);
if (tempname == NULL)
if (file == NULL)
return (ISC_R_NOMEMORY);
result = opentmp(mctx, filename, &tempname, &f);