]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fixed a missing variable declaration needed by strtok_r on non-threaded builds
authorEvan Hunt <each@isc.org>
Fri, 13 Apr 2018 17:14:52 +0000 (10:14 -0700)
committerEvan Hunt <each@isc.org>
Fri, 13 Apr 2018 18:55:30 +0000 (11:55 -0700)
bin/tests/system/dlzexternal/driver.c

index a55189126be517b1e2ab411b1d23e621c1d3faa2..8821b0ac0f58ac9d167f0d86c2784b6b8e6a2dde 100644 (file)
@@ -702,9 +702,7 @@ modrdataset(struct dlz_example_data *state, const char *name,
        char *full_name, *dclass, *type, *data, *ttlstr, *buf;
        char absolute[1024];
        isc_result_t result;
-#if defined(WIN32) || defined(_REENTRANT)
        char *saveptr = NULL;
-#endif
 
        buf = strdup(rdatastr);
        if (buf == NULL)