diff options
Diffstat (limited to 'src/gns/gnunet-gns-proxy.c')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 02ebcf0f1..0d7d83b4b 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -636,7 +636,7 @@ struct Socks5Request | |||
636 | /** | 636 | /** |
637 | * The port the proxy is running on (default 7777) | 637 | * The port the proxy is running on (default 7777) |
638 | */ | 638 | */ |
639 | static unsigned long long port = GNUNET_GNS_PROXY_PORT; | 639 | static uint16_t port = GNUNET_GNS_PROXY_PORT; |
640 | 640 | ||
641 | /** | 641 | /** |
642 | * The CA file (pem) to use for the proxy CA | 642 | * The CA file (pem) to use for the proxy CA |
@@ -3399,8 +3399,8 @@ run (void *cls, | |||
3399 | return; | 3399 | return; |
3400 | } | 3400 | } |
3401 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 3401 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
3402 | "Proxy listens on port %llu\n", | 3402 | "Proxy listens on port %u\n", |
3403 | port); | 3403 | (unsigned int) port); |
3404 | 3404 | ||
3405 | /* start MHD daemon for HTTP */ | 3405 | /* start MHD daemon for HTTP */ |
3406 | hd = GNUNET_new (struct MhdHttpList); | 3406 | hd = GNUNET_new (struct MhdHttpList); |
@@ -3437,11 +3437,11 @@ int | |||
3437 | main (int argc, char *const *argv) | 3437 | main (int argc, char *const *argv) |
3438 | { | 3438 | { |
3439 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 3439 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
3440 | GNUNET_GETOPT_option_ulong ('p', | 3440 | GNUNET_GETOPT_option_uint16 ('p', |
3441 | "port", | 3441 | "port", |
3442 | NULL, | 3442 | NULL, |
3443 | gettext_noop ("listen on specified port (default: 7777)"), | 3443 | gettext_noop ("listen on specified port (default: 7777)"), |
3444 | &port), | 3444 | &port), |
3445 | GNUNET_GETOPT_option_string ('a', | 3445 | GNUNET_GETOPT_option_string ('a', |
3446 | "authority", | 3446 | "authority", |
3447 | NULL, | 3447 | NULL, |