mirror of https://github.com/getdnsapi/getdns.git
Merge branch 'develop' of github.com:verisign/getdns into develop
This commit is contained in:
commit
1344e29f8a
|
@ -62,7 +62,7 @@ this_callbackfn(struct getdns_context_t *this_context,
|
|||
}
|
||||
|
||||
int
|
||||
main()
|
||||
main(int argc, char** argv)
|
||||
{
|
||||
/* Create the DNS context for this call */
|
||||
struct getdns_context_t *this_context = NULL;
|
||||
|
@ -86,7 +86,7 @@ main()
|
|||
(void) getdns_extension_set_libevent_base(this_context,
|
||||
this_event_base);
|
||||
/* Set up the getdns call */
|
||||
const char *this_name = "www.google.com";
|
||||
const char *this_name = argc > 1 ? argv[1] : "www.google.com";
|
||||
char *this_userarg = "somestring"; // Could add things here to help identify this call
|
||||
getdns_transaction_t this_transaction_id = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue