Merge branch 'develop' of github.com:verisign/getdns into develop

This commit is contained in:
W.C.A. Wijngaards 2013-12-03 10:41:52 +01:00
commit 1344e29f8a
1 changed files with 2 additions and 2 deletions

View File

@ -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;