From 46df51a391c231c4fd38376fb0213325ebc0226a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 6 Sep 2011 01:57:21 +0200 Subject: fix bool variables checking and assignment --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 94abbb22e..4f5fd9177 100644 --- a/src/main.c +++ b/src/main.c @@ -5250,7 +5250,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[]) SET_BINMODE(stdout); } - if(1 == config->tcp_nodelay) + if(config->tcp_nodelay) my_setopt(curl, CURLOPT_TCP_NODELAY, 1); /* where to store */ -- cgit v1.2.3