aboutsummaryrefslogtreecommitdiffstats
path: root/apps/http-proxy/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apps/http-proxy/main.cc')
-rw-r--r--apps/http-proxy/main.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/http-proxy/main.cc b/apps/http-proxy/main.cc
index 179da452b..0dedbd8a7 100644
--- a/apps/http-proxy/main.cc
+++ b/apps/http-proxy/main.cc
@@ -46,7 +46,7 @@ int main(int argc, char** argv) {
break;
case 'h':
default:
- usage(argv[0]);
+ return usage(argv[0]);
break;
}
}
@@ -57,6 +57,9 @@ int main(int argc, char** argv) {
prefix = argv[optind];
}
+ std::cout << "Connecting to " << ip_address << " port " << port
+ << " Cache size " << cache_size << " Prefix " << prefix
+ << std::endl;
transport::AsyncConsumerProducer proxy(prefix, ip_address, port, cache_size);
proxy.run();