Merge branch 'fix-strtok' into 'master'

fix a missing variable declaration needed by strtok_r on non-threaded builds

See merge request isc-projects/bind9!200
This commit is contained in:
Evan Hunt
2018-04-13 15:02:44 -04:00

View 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)