From: Yang Tse <yangsita@gmail.com> Date: Mon, 5 Sep 2011 23:57:21 +0000 (+0200) Subject: fix bool variables checking and assignment X-Git-Tag: curl-7_22_0~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46df51a391c231c4fd38376fb0213325ebc0226a;p=curl fix bool variables checking and assignment --- 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 */