mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
testing wrong variable
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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>
|
#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;
|
dns_dumpctx_t *dctx = NULL;
|
||||||
|
|
||||||
file = isc_mem_strdup(mctx, filename);
|
file = isc_mem_strdup(mctx, filename);
|
||||||
if (tempname == NULL)
|
if (file == NULL)
|
||||||
return (ISC_R_NOMEMORY);
|
return (ISC_R_NOMEMORY);
|
||||||
|
|
||||||
result = opentmp(mctx, filename, &tempname, &f);
|
result = opentmp(mctx, filename, &tempname, &f);
|
||||||
|
Reference in New Issue
Block a user