diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-06 01:57:21 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-06 01:57:21 +0200 |
commit | 46df51a391c231c4fd38376fb0213325ebc0226a (patch) | |
tree | 9239e8eba2e3faedad445e3fb6a7c545abad9d3a | |
parent | e9e894905c5743d24f318b5a3d33802caa136f5f (diff) |
fix bool variables checking and assignment
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |