]> granicus.if.org Git - curl/commit
curl: Restore noprogress and isatty config values.
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Wed, 20 Jun 2012 16:00:53 +0000 (01:00 +0900)
committerYang Tse <yangsita@gmail.com>
Thu, 21 Jun 2012 01:35:52 +0000 (03:35 +0200)
commit7561a0fc834c435c1d8a32046701d7c90d61287e
treee913966822bd65d33aa4f11b741f54d59fd21833
parent196c8242caa30472564290f1c89e7e19d2f04453
curl: Restore noprogress and isatty config values.

The noprogress and isatty in Configurable are global, in a sense
that they persist in one curl invocation. Currently once one
download writes its response data to tty, they are set to FALSE
and they are not restored on successive downloads.  This change
first backups the current noprogress and isatty, and restores
them when download does not write its data to tty.
src/tool_operate.c