mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
oops, forgot to assign lctx->keep_lex.
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: master.c,v 1.137 2002/02/21 00:51:22 marka Exp $ */
|
/* $Id: master.c,v 1.138 2002/02/21 00:56:14 bwelling Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -460,13 +460,15 @@ loadctx_create(isc_mem_t *mctx, unsigned int options, dns_name_t *top,
|
|||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
goto cleanup_ctx;
|
goto cleanup_ctx;
|
||||||
|
|
||||||
if (lex != NULL)
|
if (lex != NULL) {
|
||||||
lctx->lex = lex;
|
lctx->lex = lex;
|
||||||
else {
|
lctx->keep_lex = ISC_TRUE;
|
||||||
|
} else {
|
||||||
lctx->lex = NULL;
|
lctx->lex = NULL;
|
||||||
result = isc_lex_create(mctx, TOKENSIZ, &lctx->lex);
|
result = isc_lex_create(mctx, TOKENSIZ, &lctx->lex);
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
goto cleanup_inc;
|
goto cleanup_inc;
|
||||||
|
lctx->keep_lex = ISC_FALSE;
|
||||||
memset(specials, 0, sizeof(specials));
|
memset(specials, 0, sizeof(specials));
|
||||||
specials['('] = 1;
|
specials['('] = 1;
|
||||||
specials[')'] = 1;
|
specials[')'] = 1;
|
||||||
|
Reference in New Issue
Block a user