mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-18 18:18:00 -05:00
wrong argv index was being atoi()d after conversion to isc/commandline.h
This commit is contained in:
parent
3eab41102f
commit
e2125b01c2
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ main (int argc, char **argv) {
|
|||
isc_result_totext(result));
|
||||
exit (1);
|
||||
}
|
||||
result = omapi_protocol_listen(listener, atoi(argv[2]), 1);
|
||||
result = omapi_protocol_listen(listener, atoi(argv[1]), 1);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
fprintf (stderr, "omapi_listen: %s\n",
|
||||
isc_result_totext(result));
|
||||
|
|
|
|||
Loading…
Reference in a new issue