GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
if (verbose)
fprintf (stderr, "Issuing GET request for %s!\n", query_key);
- GNUNET_DHT_get_start (dht_handle, timeout, query_type, &key,
+ get_handle = GNUNET_DHT_get_start (dht_handle, timeout, query_type, &key,
&get_result_iterator, NULL, &message_sent_cont, NULL);
}
1, &GNUNET_GETOPT_set_string, &query_key},
{'t', "type", "TYPE",
gettext_noop ("the type of data to look for"),
- 0, &GNUNET_GETOPT_set_uint, &query_type},
+ 1, &GNUNET_GETOPT_set_uint, &query_type},
{'T', "timeout", "TIMEOUT",
gettext_noop ("how long to execute this query before giving up?"),
- 0, &GNUNET_GETOPT_set_ulong, &timeout_request},
+ 1, &GNUNET_GETOPT_set_ulong, &timeout_request},
{'V', "verbose", NULL,
gettext_noop ("be verbose (print progress information)"),
0, &GNUNET_GETOPT_set_one, &verbose},