Use the semantic patch to change the usage isc_mem_create() to new API
This commit is contained in:
@@ -207,7 +207,7 @@ main(int argc, char *argv[]) {
|
||||
isc_mutex_init(&lock);
|
||||
|
||||
mctx = NULL;
|
||||
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
|
||||
isc_mem_create(&mctx);
|
||||
|
||||
while ((ch = isc_commandline_parse(argc, argv, "vp:")) != -1) {
|
||||
switch (ch) {
|
||||
|
||||
Reference in New Issue
Block a user