remove debugging prints

This commit is contained in:
Nick Mathewson 2012-02-27 18:08:27 -05:00
parent d9be5f49ff
commit 510839e7db

View File

@ -139,7 +139,6 @@ start_loop(void)
puts("AF mismatch from getsockname()."); puts("AF mismatch from getsockname().");
exit(1); exit(1);
} }
printf("Using port %d\n", (int) ntohs(sin.sin_port));
start_client(base); start_client(base);
@ -197,8 +196,7 @@ start_client(struct event_base *base)
struct bufferevent *bev = bufferevent_socket_new(base, -1, struct bufferevent *bev = bufferevent_socket_new(base, -1,
BEV_OPT_CLOSE_ON_FREE); BEV_OPT_CLOSE_ON_FREE);
bufferevent_setcb(bev, client_read_cb, NULL, client_event_cb, NULL); bufferevent_setcb(bev, client_read_cb, NULL, client_event_cb, NULL);
fprintf(stdout, ".");
fflush(stdout);
if (bufferevent_socket_connect(bev, (struct sockaddr *)&sin, if (bufferevent_socket_connect(bev, (struct sockaddr *)&sin,
sizeof(sin)) < 0) { sizeof(sin)) < 0) {
/* XXX won't capture net errors on windows */ /* XXX won't capture net errors on windows */